# \[Accepted\] SE-0285: Ease the transition to concise magic file strings

**URL:** <https://forums.swift.org/t/accepted-se-0285-ease-the-transition-to-concise-magic-file-strings/38516>\
**Category:** Announcements\
**Created:** [July 16, 2020, 11:27pm UTC](https://forums.swift.org/t/accepted-se-0285-ease-the-transition-to-concise-magic-file-strings/38516 "2020-07-16T23:27:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomerd](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tomerd/32/3402_2.png) [@tomerd](https://forums.swift.org/u/tomerd)\
**Post date:** [July 16, 2020, 11:27pm UTC](https://forums.swift.org/t/accepted-se-0285-ease-the-transition-to-concise-magic-file-strings/38516/1 "2020-07-16T23:27:38Z")

</div>

Hello Swift Community,

The review for [SE-0285: Ease the transition to concise magic file strings](https://github.com/apple/swift-evolution/blob/master/proposals/0285-ease-pound-file-transition.md) ran from June 6th through June 16th, 2020. You can find the review thread [here](https://forums.swift.org/t/se-0285-ease-the-transition-to-concise-magic-file-strings/38234).

The feedback was generally positive, and to address the concern around which variants of #file library authors should use the proposal was modified to include [Swift API Design Guidelines amendment](https://github.com/apple/swift-evolution/blob/master/proposals/0285-ease-pound-file-transition.md#swift-api-design-guidelines-amendment) encouraging library authors to prefer `#fileID` over alternatives.

Accordingly, SE-0285 is **accepted**.

Thank you to everyone who participated in the review!

Tom Doron,  
Review Manager

---

<div class="post-metadata">

**Author:** ![DevAndArtist](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/devandartist/32/287_2.png) [@DevAndArtist](https://forums.swift.org/u/DevAndArtist)\
**Post date:** [July 17, 2020, 6:46pm UTC](https://forums.swift.org/t/accepted-se-0285-ease-the-transition-to-concise-magic-file-strings/38516/2 "2020-07-17T18:46:46Z")

</div>

Can we please fix the title of this thread?

---

<div class="post-metadata">

**Author:** ![John\_McCall](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/john_mccall/32/1351_2.png) [@John\_McCall](https://forums.swift.org/u/John_McCall)\
**Post date:** [July 17, 2020, 7:08pm UTC](https://forums.swift.org/t/accepted-se-0285-ease-the-transition-to-concise-magic-file-strings/38516/3 "2020-07-17T19:08:40Z")

</div>

Fixed!

---

<div class="post-metadata">

**Author:** ![Shawn\_Erickson](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/shawn_erickson/32/2981_2.png) [@Shawn\_Erickson](https://forums.swift.org/u/Shawn_Erickson)\
**Post date:** [April 7, 2021, 2:57am UTC](https://forums.swift.org/t/accepted-se-0285-ease-the-transition-to-concise-magic-file-strings/38516/4 "2021-04-07T02:57:31Z")

</div>

I note that this accepted and implemented proposal states the following...

> Standard library assertion functions like `assert` , `precondition` , and `fatalError` will switch from `#file` to `#fileID` . When a filename is included in a compiler-generated trap, such as a force unwrap, it will also emit a literal equivalent to using `#fileID` .

However in Swift 5.3 I still see assert and friends using #file? Was this aspect of the proposal deferred or forgotten? ...or am I missing it on my end?

This is complicating our attempt to move over to use #fileID in some of our code.
