Commit Graph

1 Commits

Author SHA1 Message Date
Slava Pestov
068f3a18da Sema: Fix crash if we try to look up constructors while validating a constructor
addImplicitConstructors() will crash if validateDecl() does not produce
a valid signature for one of the class's constructors because the
constructor is already being validated.

This was triggered during associated type inference in the test case
in the radar.

Fixes <rdar://problem/30751491>.
2017-03-13 01:50:41 -07:00