You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a Swift Package and set swiftLanguageVersions and swiftLanguageMode to .v6 in Package.swift.
Run Sourcery against the package.
Observe the crash.
Expected Behavior
Sourcery should handle Swift 6 language versions and modes without crashing.
Actual Behavior
Sourcery crashes immediately when analyzing the Swift package.
Environment
Sourcery version: [Specify version]
Swift version: 6.0 (or development snapshot)
Operating System: [macOS version]
Additional Context
[Include any relevant logs, crash reports, or configurations.]
The text was updated successfully, but these errors were encountered:
iDylanK
changed the title
Sourcery crashes with swiftLanguageVersions: [.v6] and swiftLanguageMode: [.v6] in a Swift Package
Sourcery crashes with swiftLanguageVersions: [.v6] or swiftLanguageMode: [.v6] in a Swift Package
Jan 16, 2025
Description:
Sourcery crashes (fatalError) when the following configuration is used in a Swift Package's Package.swift file:
swiftLanguageVersions: [.v6],
swiftLanguageMode: [.v6]
Steps to Reproduce
Create a Swift Package and set swiftLanguageVersions and swiftLanguageMode to .v6 in Package.swift.
Run Sourcery against the package.
Observe the crash.
Expected Behavior
Sourcery should handle Swift 6 language versions and modes without crashing.
Actual Behavior
Sourcery crashes immediately when analyzing the Swift package.
Environment
Sourcery version: [Specify version]
Swift version: 6.0 (or development snapshot)
Operating System: [macOS version]
Additional Context
[Include any relevant logs, crash reports, or configurations.]
The text was updated successfully, but these errors were encountered: