Skip to content

Use: improve error message when .swift-version toolchain is missing#542

Merged
cmcgee1024 merged 1 commit into
swiftlang:release/1.2from
cmcgee1024:version_mismatch_error_v1_2
May 15, 2026
Merged

Use: improve error message when .swift-version toolchain is missing#542
cmcgee1024 merged 1 commit into
swiftlang:release/1.2from
cmcgee1024:version_mismatch_error_v1_2

Conversation

@cmcgee1024
Copy link
Copy Markdown
Member

When a swift version file references an uninstalled toolchain, the error now suggests a compatible installed version (same major.minor) as a concrete swiftly use command, rather than a generic placeholder. Also clarifies the message to distinguish "not installed" from "doesn't match".

When a swift version file references an uninstalled toolchain, the error
now suggests a compatible installed version (same major.minor) as a
concrete `swiftly use` command, rather than a generic placeholder. Also
clarifies the message to distinguish "not installed" from "doesn't match".
@cmcgee1024 cmcgee1024 merged commit c32f999 into swiftlang:release/1.2 May 15, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants