Commit Graph

1 Commits

Author SHA1 Message Date
Jordan Rose
2d480aa89f Remove duplicate checks for if a default no-argument initializer can be defined.
This condition is already checked from defineDefaultConstructor's only caller,
addImplicitConstructors, and the two conditions had drifted. This was causing
issues in the multi-file case, where the optionals hadn't been given an
explicit initial value yet.

rdar://problem/18716572

Swift SVN r23017
2014-10-30 18:53:13 +00:00