Commit Graph

10 Commits

Author SHA1 Message Date
Dmitri Hrybenko
e5e4b38808 Eliminate a use of println() where it is irrelevant
Swift SVN r28093
2015-05-03 04:09:34 +00:00
Slava Pestov
1c64eee1c4 Add testcase for <rdar://18996669> which seems to be fixed already
Swift SVN r28091
2015-05-02 19:31:29 +00:00
Doug Gregor
e4f2cef6f7 Eliminate archetypes from interface types.
The culprit happened to be a type representation cloner for tuple type
representations that didn't actually clone anything. Introduce an
AST-level verifier that makes sure we catch any archetypes that slip
into interface types earlier in the future.

Fixes rdar://problem/18796397 and the three dupes I've found so far.

Swift SVN r28080
2015-05-02 05:28:57 +00:00
Doug Gregor
fbbd834493 Add test case from rdar://problem/20750480, which no longer crashes.
Swift SVN r28027
2015-05-01 05:59:31 +00:00
Chris Lattner
31c01eab73 Change the meaning of "if let x = foo()" back to Xcode 6.4 semantics. The compiler
includes a number of QoI things to help people write the correct code.  I will commit
the testcase for it as the next patch.

The bulk of this patch is moving the stdlib, testsuite and validation testsuite to
the new syntax.  I moved a few uses of "as" patterns back to as? expressions in the 
stdlib as well.



Swift SVN r27959
2015-04-30 04:38:13 +00:00
Doug Gregor
292f57a567 Revert "Add already-fixed test from rdar://problem/20549848."
This reverts r27824; it's redundant since the radar was a dupe.

Swift SVN r27828
2015-04-27 23:02:45 +00:00
Doug Gregor
dfd7ccbb5f Test case from rdar://problem/20588474.
Swift SVN r27826
2015-04-27 22:55:48 +00:00
Doug Gregor
d3d5e9bfd9 Add already-fixed test from rdar://problem/20549848.
Swift SVN r27824
2015-04-27 22:55:45 +00:00
Doug Gregor
78cc7b75f8 Basic support for typealiases in protocol extensions.
Handle substitutions properly when a typealias declared in a protocol
extension is used to satisfy an associated type requirement. Fixes
rdar://problem/20564605.

Swift SVN r27490
2015-04-20 20:19:03 +00:00
Doug Gregor
69718f77fa When failing to find a suitable type witness, always record ErrorType.
Fixes the crash in rdar://problem/20564378. In these cases, we end up
swallowing some diagnostics. That will be addressed in a subsequent
commit.

Swift SVN r27436
2015-04-17 18:11:35 +00:00