[SR-6305] Cannot initialise Dictionary from an EnumeratedSequence #48855
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 4.0.3 (swiftlang-900.0.71 clang-900.0.38)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: a219796b79b304ec98d478ac6a4adc11
is duplicated by:
Issue Description:
The following snippet fails to compile:
With the message:
The only way I was able to get it to work was to add a pass-through call to "map" on the end:
The text was updated successfully, but these errors were encountered: