Commit graph

103 commits

Author SHA1 Message Date
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
Tingan Ho
a97ea4b657 Corrects old tests. 2015-05-15 08:38:44 +08:00
Tingan Ho
fdfbcf6ffc Adds tests 2015-05-15 08:38:43 +08:00
Mohamed Hegazy
8b43b3d18c Update test 2015-05-06 20:18:32 -07:00
Mohamed Hegazy
5e94ce65ed Merge branch 'typeguardsByConstructorSigniture' of https://github.com/vvakame/TypeScript into vvakame-typeguardsByConstructorSigniture 2015-05-06 12:44:45 -07:00
vvakame
776f390786 PR feedback 2015-05-06 21:18:15 +09:00
Yui
183c1c47ab Merge pull request #2753 from Microsoft/conformanceArrayLiteral
Conformance test for update in section 4.6 Array Literal
2015-05-04 10:50:41 -07:00
Yui
3da13152f0 Merge pull request #2761 from Microsoft/conformanceContextuallyTypedFuncExp
Conformance test for update spec section 4.9.3 contextual typing in function expression
2015-05-04 10:48:42 -07:00
Yui
031c344bd6 Merge pull request #2785 from Microsoft/conformanceTypeGuard
Conformance for spec update section 4.20 Add additional tests for typeguard for class or object property
2015-05-04 10:47:06 -07:00
vvakame
ab10d509f5 support instantiate signature, it has type parameters. 2015-05-02 15:27:06 +09:00
vvakame
35d6e98e98 type narrowing by constructor signiture of interface 2015-04-30 23:12:35 +09:00
Yui T
ac8ae27139 Address code review 2015-04-16 20:09:03 -07:00
Yui T
d94027b146 Add conformance tests for arugment expression, getSetAccessor, arrayLiteralExpression 2015-04-16 20:01:29 -07:00
Yui T
6d9c1f4c4a Add spec description into tests 2015-04-16 15:39:12 -07:00
Yui T
845b618b42 Add spec description to the test file and move tests that generate errors to separate file 2015-04-16 14:41:19 -07:00
Yui T
8899d5f056 Add additional tests for typeguard for class or object property 2015-04-15 16:55:59 -07:00
Yui T
496e23881b Change file name to be more consistent 2015-04-14 13:00:13 -07:00
Yui T
a689b9df38 Conformance test for update incontextual type in function expression 2015-04-14 10:26:47 -07:00
Yui T
d475170321 Conformance test for update in section 4.6 2015-04-13 16:16:04 -07:00
Ron Buckton
0546042df3 Add support for parsing destructuring patterns in arrow function parameter lists 2015-04-08 18:01:21 -07:00