17477 Commits

Author SHA1 Message Date
Ron Buckton
3d09bc4734 Switch to __await sentinel, better support for return values 2017-05-04 14:02:06 -07:00
Ron Buckton
2dece3938d Fix over agressive async delegation 2017-05-04 14:02:05 -07:00
Nathan Shively-Sanders
53c1caaf60 Test:index constraint check on js class expression 2017-05-04 13:01:34 -07:00
Nathan Shively-Sanders
a17f16ded8 Add JS declaration to index constraint check error reporting
Now Javascript-style declarations like `this.foo = "bar"` are handled
correctly.
2017-05-04 13:01:26 -07:00
Yui
f43af5ef91 Merge pull request #15548 from Microsoft/release-fix15469
[Release - React] Fix 15469
2017-05-03 13:41:09 -07:00
Yui T
b77c0ad741 Add tests and update baselines 2017-05-03 13:30:30 -07:00
Yui T
c6ece969f0 Update baseline 2017-05-02 20:54:42 -07:00
Yui T
1f19fd69b1 Don't stop checking other attributes even though we see spread type. This is so that things are correctly marked as reference and type-checked 2017-05-02 20:54:27 -07:00
Yui
8a306785b4 Merge pull request #15512 from Microsoft/release-2.3_fixDefaultTypeParameter
[React-Release 2.3] Enable default type parameter in React Component class
2017-05-01 19:29:04 -07:00
Mohamed Hegazy
eb123f9569 Merge pull request #15516 from Microsoft/release-2.3_fix_importClause_npe
importTracker: Fix error for undefined importClause
2017-05-01 16:10:44 -07:00
Andy Hanson
1318e1e3e0 importTracker: Fix error for undefined importClause 2017-05-01 15:34:49 -07:00
Kanchalai Tanglertsampan
5f19c3e197 Add tests and baselines 2017-05-01 13:19:06 -07:00
Kanchalai Tanglertsampan
28450d5c1e For React Component class, we fill in missing type parameter and instantiate the constructor signature with the new type arguments. 2017-05-01 11:53:13 -07:00
Mohamed Hegazy
bb582c20a3 Merge pull request #15502 from Microsoft/portFixes5-1-2017
Port fixes from master
2017-05-01 11:09:36 -07:00
Ron Buckton
8531b7ae9f Do not rename references to class inside of the class body function 2017-05-01 10:43:38 -07:00
Ron Buckton
c1103424b8 Fix class name emit in ES5 2017-05-01 10:43:32 -07:00
Nathan Shively-Sanders
f3737dd97a Test ES2015 transform of accessors w/captured this 2017-05-01 10:42:41 -07:00
Nathan Shively-Sanders
69623146bd ES2015 transforms accessors with captured this
Previously, it did not, meaning that the emit for lexically captured
`this` was incorrect.
2017-05-01 10:42:35 -07:00
Mohamed Hegazy
1d209d50e3 Update version 2017-05-01 10:41:44 -07:00
Mohamed Hegazy
d1a202dca6 Update LKG v2.3.2 2017-04-28 14:25:52 -07:00
Mohamed Hegazy
a28c533612 Update version 2017-04-28 14:25:14 -07:00
Ryan Cavanaugh
9eaddb461e Merge pull request #15445 from RyanCavanaugh/sessionBackCompat
Add compat overload to Session constructor
2017-04-28 13:29:50 -07:00
Ryan Cavanaugh
9ce6b3560f Add compat overload 2017-04-28 10:13:21 -07:00
Mohamed Hegazy
47e5569778 Update LKG v2.3.1 2017-04-25 15:27:55 -07:00
Mohamed Hegazy
9ada9154e2 Merge pull request #15381 from Microsoft/revert15104
Revert #15104
2017-04-25 15:18:11 -07:00
Mohamed Hegazy
fe0a3071c2 Revert "Treat callback parameters as strictly covariant"
This reverts commit 8ae3e050759311d6cef51cc7b5067a5257b7f33c.
2017-04-25 14:48:06 -07:00
Mohamed Hegazy
96a3c91122 Revert "Fix callback types to match covariantly"
This reverts commit eebd67f8d53939e63fc54829dffec88f333ff64d.
2017-04-25 14:47:38 -07:00
Mohamed Hegazy
70bb2d3b0f Revert "Accept new baselines"
This reverts commit 11543d7369b6b0fc594dd0d38b092f0fa66e8075.
2017-04-25 14:47:26 -07:00
Mohamed Hegazy
3abd0c8ac2 Revert "Add tests"
This reverts commit 50f84b12a2ad5fef8294410c2cdfcce35b49a577.
2017-04-25 14:47:16 -07:00
Mohamed Hegazy
42d6a9cac6 Revert "Check callback return values bi-variantly"
This reverts commit 189fc515796a2612874ea7f74226edc0aacc5088.
2017-04-25 14:46:55 -07:00
Mohamed Hegazy
d581bed509 Revert "Accept new baselines"
This reverts commit 33bc9d161685bf41d0072a566b89226543ad0a63.
2017-04-25 14:46:43 -07:00
Mohamed Hegazy
cf17be2c76 Revert "Add another test case"
This reverts commit 510bc8196760f9d62b29d2f3e48a8bc6ad0d8d14.
2017-04-25 14:46:30 -07:00
Mohamed Hegazy
e86512e270 Revert "Allow callbacks unioned with null and/or undefined"
This reverts commit ec35b800e30ec735be8946842fcfa6ef45649a2c.
2017-04-25 14:46:18 -07:00
Mohamed Hegazy
22647bbae4 Revert "Update tests"
This reverts commit 3cda0eac32e265a0f4e4b0814af8b4724bfa889d.
2017-04-25 14:46:06 -07:00
Mohamed Hegazy
8a85f4a61e Update LKG 2017-04-24 11:31:35 -07:00
Mohamed Hegazy
3c3b73e72e Merge branch 'master' into release-2.3 2017-04-24 10:56:29 -07:00
Mohamed Hegazy
a0abadbcbe Merge pull request #15320 from Microsoft/fixTypePredicateThisParameter
Fix type predicates with this parameters
2017-04-24 10:44:43 -07:00
Nathan Shively-Sanders
5783435edc Merge pull request #15330 from gcnew/exportConsts
Allow exporting const variables when `strictNullChecks` is on
2017-04-24 10:10:58 -07:00
Mohamed Hegazy
bb8a875e71 Merge pull request #15050 from YuichiNukiyama/add_headers_iteratableiterator
Fix Headers interface
2017-04-24 09:27:00 -07:00
Yuichi Nukiyama
2713501298 fix mistake 2017-04-25 00:02:33 +09:00
Yuichi Nukiyama
1fb010e7f8 add Symbol.iterator 2017-04-24 23:42:23 +09:00
gcnew
9c2a74c26c Update tests 2017-04-23 19:14:21 +03:00
gcnew
d08960fbd3 Allow exporting of consts even if strictNullChecks is on 2017-04-23 19:13:48 +03:00
Anders Hejlsberg
85d4593033 Add regression test 2017-04-22 17:09:20 -07:00
Anders Hejlsberg
e3b4c90970 Properly account for 'this' parameter in type predicate checks 2017-04-22 17:08:52 -07:00
Yui
a1a2006074 Merge pull request #15160 from Microsoft/master-jsxChildren
[Master] Type checking JSX children
2017-04-21 10:02:13 -07:00
Andy
d190530874 Merge pull request #15303 from Microsoft/importTracker_npe
Fix null error in importTracker: VariableDeclaration might not have a VariableStatement ancestor
2017-04-21 09:43:33 -07:00
Kanchalai Tanglertsampan
e7e13ecbfc Fix linting 2017-04-21 09:42:19 -07:00
Mohamed Hegazy
0e08e6ef5b Merge pull request #15284 from HerringtonDarkholme/lib
fix #15243: add URLSearchParams to iterable
2017-04-21 09:23:51 -07:00
Andy Hanson
4ff180d814 Fix null error in importTracker: VariableDeclaration might not have a VariableStatement ancestor 2017-04-21 07:55:16 -07:00