apple / swift-log

A Logging API for Swift
https://apple.github.io/swift-log/
Apache License 2.0
3.48k stars 284 forks source link

Fix compile warnings for Swift 6 language mode #313

Closed b1ackturtle closed 2 months ago

b1ackturtle commented 2 months ago

This PR addresses compile warnings that occur when enabling Swift 6 language mode.

Motivation:

The goal is to eliminate compile-time warnings when using Swift 6 language mode.

Modifications:

Replaced #file with #filePath in XCTFail calls.

Result:

The codebase now compiles without warnings in Swift 6 language mode.

FranzBusch commented 2 months ago

@swift-server-bot add to allowlist

FranzBusch commented 2 months ago

@swift-server-bot test this please