swift
1c9ed33f - ensure you cannot discard a local called `self`

Commit
2 years ago
ensure you cannot discard a local called `self` previous checking for the expr being `self` was checking for the decl being named `self`. that meant you could do naughty things like: ``` let `self` = Self() discard `self` ``` rdar://109376381
Author
Parents
Loading