New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-668] Mistyping swift when compiling yields incomprehensible error message #5429
Comments
cc @ddunbar. I stuck this under Package Manager because the multitool support is all in service of swiftpm right now. |
Sounds good. |
I tried to figure out where this occurs, but could not. |
I don't know if this has been specifically fixed since the issue was filed or if something else has changed to make the problem go away, but I am not able to reproduce this in the most recent Swift builds. I can type `Swift build`, or `swift Build` and it all seems to work. If I mistype the subcommand, I get:
but this seems expected. |
Lee, do you remember the exact way in which you mistyped "swift"? From the original error message, I'm guessing you accidentally capitalized the leading "S"? Would you mind checking whether this is still a problem? As mentioned above, I tried a variety of ways to reproduce it but could not. |
@swift-ci create |
Environment
OS X 10.11, Swift 2.2
Additional Detail from JIRA
md5: ff874a88459fe51b83bda74b49cfc915
Issue Description:
If a typo is made and Swift is used instead of swift when compiling a package the message reported is
<unknown>:0: error: invalid value 'Swift' in '--driver-mode='
Something much more understandable should be displayed.
The text was updated successfully, but these errors were encountered: