mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Don't suggest `let` or `var` in e.g the sequence expression of a `for` loop, or after a `return`. We ought to do a better job of checking whether we're in expression position before suggesting these (as opposed to a pattern), but I'm leaving that as future work for now.
75 KiB
75 KiB