Commits

Jordan Rose committed 0d3d78c0f24
Warn if a subclass method has a 'T!' param where the superclass has 'T'. Also warn when the subclass returns 'T!' where the superclass returns 'T?'. In both cases, allow silencing by wrapping the 'T!' in parentheses. This is intended to provide migration help as Objective-C classes get annotated for nullability. Because of that, the check is only run on @objc classes, though it's not limited to classes that actually come from Objective-C because of (a) deep subclass chains that may all need updating, and (b) ease of testing. <rdar://problem/17892184> Swift SVN r21001