Standard library assertion functions like
fatalErrorwill switch from
#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
But in Swift 5.6, and on the main branch, these functions still have a default argument of
#file: swift/Assert.swift at main · apple/swift · GitHub
Is this an oversight or is it intentional - and instead this change will simply be realized with the change of behaviour of
#file in a Swift 6 compiler mode?