Commit Graph

5 Commits

Author SHA1 Message Date
Dmitri Hrybenko
c31c286932 Annotate valiation tests that don't crash without assertions anymore
Swift SVN r25970
2015-03-11 05:46:04 +00:00
Doug Gregor
a3b4b0903b Teach TypeChecker::resolveTypeInContext to use interface types more often.
When referring to a type declaration that is a member of some nominal
type, we were relying on substitution into the non-interface type,
which is silly. Use the interface type here.

Other than some type-printing differences, this should be NFC.

Slight regression in two compiler crashes that had been fixed in the
previous commit; I'll look into these shortly.

Swift SVN r25385
2015-02-19 00:58:44 +00:00
Doug Gregor
a34a457ce7 Teach TypeDecl::getDeclared(Interface)Type() about ErrorType.
Propagate the error rather than crashing. Fixes 25 crashes from the
test suite, covered by rdar://problem/19883429.

Swift SVN r25384
2015-02-19 00:58:42 +00:00
Chris Willmore
513b05c283 compiler_crashers: Use %target-swift-frontend instead of %swift -sdk %sdk
This fixes compiler_crashers tests that use the ObjC interface on
iOS hardware SDKs.

Swift SVN r23458
2014-11-20 00:32:59 +00:00
Chris Willmore
4e1fa4a63f Import the swift-compiler-crashes test suite.
Add all compiler crash tests to the validation-test/compiler_crashers
subdirectory. Add a RUN: line to each test case according to the current
behavior of the Swift compiler.

Swift SVN r23418
2014-11-19 01:27:58 +00:00