mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If we're in a case stmt body, any DeclRefExprs to vars bound by a pattern will actually be to an implicit var decl that's declared for the body. We therefore need to walk to its "parent" to get to the var referenced by the pattern, which will have the correct entries in the naming and placeholder maps.
266 KiB
266 KiB