Commit graph

122 commits

Author SHA1 Message Date
Ivo Gabe de Wolff
4f936c468b Add control flow tests 2016-03-25 21:29:58 +01:00
Daniel Rosenwasser
b71ec381f9 Added tests for ASI and element access with 'let'. 2016-02-20 00:58:20 -08:00
Daniel Rosenwasser
050f52f07d Added tests. 2016-02-12 15:22:06 -08:00
Wesley Wigham
22979db64c Add test 2016-02-12 15:08:07 -08:00
Kanchalai Tanglertsampan
bf854a784f Merge branch 'master' into fix4211 2016-01-28 14:33:50 -08:00
Kanchalai Tanglertsampan
e910e7151b Merge branch 'master' into fix4211 2016-01-27 10:36:08 -08:00
Anders Hejlsberg
ea4e3afd98 Fix tests 2016-01-24 13:44:22 -08:00
Daniel Rosenwasser
403a93d21f Merge pull request #6330 from weswigham/restorative-narrowing
Fix #6277
2016-01-14 16:07:59 -08:00
Wesley Wigham
7bb2ee56d0 Fix #6277 - stop looking for any specifically, and use isTypeSubtypeOf like the old code 2016-01-03 07:43:30 -05:00
Nathan Shively-Sanders
7882fd39e7 Merge branch 'master' into allow-type-predicates-as-return-types-only 2015-12-22 11:25:45 -08:00
Yui T
0af52c3d47 Merge branch 'master' into fix4211 2015-12-14 21:51:36 -08:00
Wesley Wigham
459430165d grand unified theory of predicate types 2015-12-08 17:08:57 -08:00
Wesley Wigham
b6eb4ae10f fix generic instantiation, nested this guards now work 2015-12-08 15:00:47 -08:00
Nathan Shively-Sanders
1b63040d36 Add tests and accept baselines 2015-12-08 09:13:41 -08:00
Wesley Wigham
be6e341d2a Fix narrowing, interfaces. Expose issue with generic instantiation 2015-12-07 18:16:05 -08:00
Wesley Wigham
b9f310d4f2 first pass at this type predicate members 2015-12-03 18:21:36 -08:00
Wesley Wigham
d7208e81d6 feedback from pr 2015-12-03 13:46:37 -08:00
Wesley Wigham
859cc53c11 Add tests, remove internal annotation form enum 2015-12-02 19:49:43 -08:00
Yui T
c2fb694404 Update baselines 2015-11-30 09:43:30 -08:00
Wesley Wigham
9531d929c7 update test with pr feedback 2015-11-17 14:34:02 -08:00
Wesley Wigham
321bb9aafa Merge branch 'master' into type-guard-narrowing 2015-11-17 13:50:56 -08:00
Wesley Wigham
581f52a7ea exhaustive tests 2015-11-13 13:33:54 -08:00
Wesley Wigham
346253a0d5 test, first pass at a fix 2015-11-13 11:13:10 -08:00
Wesley Wigham
6c29ddf162 loosen walk up containers, add extra test 2015-11-11 15:30:09 -08:00
Wesley Wigham
5f184866af Merge branch 'master' into empty-set 2015-11-09 12:17:07 -08:00
Mohamed Hegazy
c3df2890fc Merge pull request #5092 from tinganho/instanceOfElseClause
Instance of else clause
2015-11-07 12:20:36 -08:00
Wesley Wigham
d4353fd0c8 Merge branch 'master' into empty-set 2015-11-03 14:40:00 -08:00
Wesley Wigham
9f12bc8a1b feedback from pr, new tests 2015-10-29 17:51:36 -07:00
Wesley Wigham
062495c426 naive change and new tests 2015-10-28 13:48:32 -07:00
Vladimir Matveev
55327781c2 suppress reachability errors in remaining tests 2015-10-13 13:06:43 -07:00
Vladimir Matveev
238e1c6f4b partially suppress reachability errors in tests 2015-10-13 11:17:10 -07:00
Vladimir Matveev
bc02341e99 addressed PR feedback, updated tests to suppress reachability errors where they are not needed 2015-10-13 10:58:55 -07:00
Tingan Ho
dd54b7a36f Adds tests 2015-10-06 19:03:11 +08:00
Ryan Cavanaugh
b2797bbaab Correctly emit 'as' operator left operand as expression
Fixes #4832
2015-09-28 17:24:59 -07:00
Vladimir Matveev
68d6d8c550 use Harness.IO instead of sys in harness 2015-08-21 00:31:25 -07:00
Jason Freeman
8e5f34fb4b Add downlevel emit tests 2015-07-15 15:04:24 -07:00
Jason Freeman
75f97f302a Add tests 2015-07-15 14:42:17 -07:00
Ryan Cavanaugh
b3ca00986f Merge remote-tracking branch 'upstream/master' into jsxAndAs 2015-06-22 22:41:41 -07:00
Ryan Cavanaugh
2b44dcac4d Conformance tests for 'as' operator 2015-06-18 14:03:14 -07:00
Tingan Ho
752e0ba003 Fixes type predicate crash bug 2015-06-18 23:04:05 +08:00
Jason Freeman
75ed565f81 Don't consume 'is' keyword if there is a preceding line terminator 2015-06-09 11:12:00 -07:00
Tingan Ho
51a43dd9d5 Addresses CR feedback 2015-06-08 13:34:49 +08:00
Tingan Ho
b1a8a5fe66 Addresses CR feedback 2015-06-07 22:16:09 +08:00
Tingan Ho
487dff564f Fixes CR feedback 2015-06-06 13:59:19 +08:00
Tingan Ho
fa9a914648 Adds error for non-return positioned type predicates and changed parse type predicate logic 2015-06-05 16:36:02 +08:00
Tingan Ho
19e725636e Adds PR feedback and removed references to typeguard (class) methods 2015-06-04 19:31:16 +08:00
Tingan Ho
b7d1df68fb Adds type guard methods 2015-06-03 16:58:56 +08:00
Tingan Ho
f8e2b99b6c Adds tests 2015-06-03 16:58:56 +08:00
Tingan Ho
78a36c0cee Fixes concat style 2015-05-16 16:42:49 +08:00
Tingan Ho
629b4bbfdf Saved 2015-05-15 15:45:08 +08:00