Commit Graph

1 Commits

Author SHA1 Message Date
Doug Gregor
f74763d933 [Type checker] Teach areOverrideCompatibleSimple() to look at initializers.
Apply the same is-generic check to initializers that we apply to
functions when establishing basic override compatibility. This is a
simple optimization for master, but fixes a crasher for Swift 3.1.

Fixes SR-4059.
2017-02-27 13:34:49 -08:00