mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: The fullFilePath() hack doesn't actually work (https://bugs.swift.org/browse/SR-12934). This is expected behaviour so currently, the only workaround would be to `#if` whole function bodies which is a lot of work. Given that in Swift 5.3 `#file` == `#filePath` still, we can just silence the warning for now. Modifications: - Replace `fullFilePath()` by `(#file)`. Result: - file locations working properly again. Co-authored-by: George Barnett <gbarnett@apple.com>