[SR-4049] Shadowing nested func in do statement causes ambiguity #46632
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 3.1 (swiftlang-802.0.31.3 clang-802.0.30.2)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 6c74180ead2df672c343e2ba4bfea00d
relates to:
Issue Description:
I think this should compile.
Doing this at top level works as expected.
The text was updated successfully, but these errors were encountered: