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?
to your account
$ swiftc --version
Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
Following code :
let red = "red",
blue = "blue"
func nested(tint: String = red)
makes compiler crash :
$ swiftc Repro.swift
Global is external, but doesn't have external or weak linkage!
i8* ()* @_TFF5Repro8topLevelFT_T_auL_3redSS
LLVM ERROR: Broken module found, compilation aborted!
The text was updated successfully, but these errors were encountered:
Comment by Mike (JIRA)
not 100% sure it is the same thing because of the different error message...
Sorry, something went wrong.
Yeah, it's the same. Yours is from a compiler with assertions turned off.
No branches or pull requests