Expected: Compiles, at least as long as the compiler can figure out that a.d is a constant; otherwise, compilation fails with a meaningful error message.
Actual: "Error: /.../swiftc failed with exit code 1"
The text was updated successfully, but these errors were encountered:
Side note: is there a place where I can vent frustration in a completely unconstructive manner? Bugs like this one keep wasting my time. Finding the cause of sudden "exit code 1" failures takes ages, and boiling them down to MWEs even longer.
Environment
XCode 8.3.3 (8E300fb) (via AppCode)
Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
Target: x86_64-apple-macosx10.9
XCode 8.3 (8E162) (directly in XCode)
Apple Swift version 3.1 (swiftlang-802.0.48 clang-802.0.38)
Target: x86_64-apple-macosx10.9
(Apparently I have two installations, AppCode using one of them. Oh well.)
Additional Detail from JIRA
md5: 1a7d653a93073c11da4394b556dd25bb
duplicates:
Issue Description:
Consider this code:
Expected: Compiles, at least as long as the compiler can figure out that
a.d
is a constant; otherwise, compilation fails with a meaningful error message.Actual: "Error: /.../swiftc failed with exit code 1"
The text was updated successfully, but these errors were encountered: