mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The "local context" was only used to prevent parsing of closures in a non-local context, and also string interpolations because they are similar-ish to closures. However, this isn't something a parser should decide, so remove this special-case semantic check from the parser and eliminate the notion of "local context" entirely.
2.9 KiB
2.9 KiB