Merge pull request #6307 from practicalswift/swiftc-28580-hastype-e-expected-type-to-have-been-set

[swiftc (104 vs. 5287)] Add crasher in swift::constraints::ConstraintSystem::getType(...)