[SR-13756] Abort: 6 when type checking an array expression that contains tuples of implicit enum instances. #56153
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
Target: x86_64-apple-darwin19.6.0
Additional Detail from JIRA
md5: a7630044c526c1ecdaff2240ef721db2
duplicates:
Issue Description:
The below Swift code causes Abort: 6
Here is the output from running `swiftc`
Expected behavior:
It's not clear to me whether Swift should be able to compile this kind of expression. Currently, it is easy enough to modify the code to give Swift enough context to compile it by prefixing the value in the first tuple with `Enum`
The text was updated successfully, but these errors were encountered: