swift
981a782e - Emit a warning when optionals are coerced to Any.

Commit
9 years ago
Emit a warning when optionals are coerced to Any. Emit a warning for optionals that are implicitly converted to Any, and add fixits giving options to: - Add '??' with a default value after - Force-unwrap the optional with '!' - Explicitly cast to 'as Any' to silence the warning This covers diagnostics aspect of SE-0140. rdar://problem/28196843
Author
Mark Lacey
Committer
Mark Lacey
Parents
Loading