swift
cd1b6edd - [CS] Fix logic determining parens for non-optional `weak` diagnostic

Commit
1 year ago
[CS] Fix logic determining parens for non-optional `weak` diagnostic We were previously checking the optional type, which would never say that parens were needed. Unwrap the type before checking, ensuring we correctly handle e.g protocol compositions.
Author
Parents
Loading