Commit Graph

3 Commits

Author SHA1 Message Date
Nathan Hawes
d4f1894347 Simplify diagnostics for inherited default argument values in module interfaces
Also:
- additionally require the containing and overridden initializers are
  designated, as that's the only case in which we should produce the '= super'
  syntax in module interfaces
- Add notes to point out the locations of the overriden initializer when it's
  not designated, and the corresponding parameter in that initializer when it
  doesn't have a default argument to inherit.
2019-04-18 11:03:34 -07:00
Nathan Hawes
1d4b6df411 Update tests from @_inheritedDefaultValue to '= super' 2019-04-16 15:21:26 -07:00
Nathan Hawes
b425987e45 Add diagnostics for the new @_inheritedDefaultValue attribute 2019-04-16 11:23:23 -07:00