Commit Graph

8 Commits

Author SHA1 Message Date
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
Chris Lattner
86f5396637 update testcase to modern syntax.
Swift SVN r27470
2015-04-19 23:03:20 +00:00
Doug Gregor
78a28c01eb Materialize temporaries properly when translating between init? and init! in witnesses.
Thanks, Joe!


Swift SVN r21854
2014-09-10 22:51:02 +00:00
Joe Groff
577eee10f3 Execution tests for generics that call failable initializers.
Swift SVN r21685
2014-09-03 22:07:37 +00:00
Joe Groff
02fa026596 Execution tests for class failable initializers.
Swift SVN r21684
2014-09-03 21:51:24 +00:00
Joe Groff
5a1e41f15a Execution tests for delegating and always-failing value initializers.
Verify that Chris's DI improvements work with delegating value initializers.

Swift SVN r21538
2014-08-28 20:15:44 +00:00
Joe Groff
46be672d4f Execution tests for cleanup of partial value initializer failures.
We get this for free from DI's support for struct/tuple destruction. Put it through its paces to make sure it works in failable value initializers.

Swift SVN r21460
2014-08-26 18:33:19 +00:00
Joe Groff
de2a02bb1e Simple execution test for failable value initializers.
Swift SVN r21451
2014-08-26 00:49:35 +00:00