[SR-14242] Type-checking incorrect when local function and variable share the same name #56602
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.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
macOS 10.15.7 (19H512)
Additional Detail from JIRA
md5: 9dbbf6ed0b72d73f5e9da1e76669ab5c
relates to:
Issue Description:
Type-checking is fine until the argument is given to the local function:
The text was updated successfully, but these errors were encountered: