5800 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
1bdea3910f Update baselines 2017-05-10 09:18:51 -07:00
Yui T
d4539bb9fc Update baaselines 2017-05-08 16:07:14 -07:00
Kanchalai Tanglertsampan
b7c54f375d Update tests and baselines 2017-05-08 16:07:09 -07:00
Yui
eda9133c5b Merge pull request #15674 from Microsoft/release-fix15463
[Release] fix15463
2017-05-08 15:11:27 -07:00
Nathan Shively-Sanders
1e39e6c32c Clean up test a little 2017-05-08 13:37:44 -07:00
Nathan Shively-Sanders
a11e0a7bcf Update test with trickier case from #15616 2017-05-08 13:37:38 -07:00
Yui T
64d301bee6 Updates tests and baselines 2017-05-08 12:24:11 -07:00
Yui T
ddd5351525 Add tests and baselines 2017-05-08 12:24:05 -07:00
Kanchalai Tanglertsampan
e8741d815a Update tests anad baselines 2017-05-08 12:23:44 -07:00
Ron Buckton
e3d54c3b47 Add check for tslib __await helper 2017-05-04 14:02:08 -07:00
Nathan Shively-Sanders
53c1caaf60 Test:index constraint check on js class expression 2017-05-04 13:01:34 -07:00
Yui T
b77c0ad741 Add tests and update baselines 2017-05-03 13:30:30 -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
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
Ron Buckton
8531b7ae9f Do not rename references to class inside of the class body function 2017-05-01 10:43:38 -07:00
Nathan Shively-Sanders
f3737dd97a Test ES2015 transform of accessors w/captured this 2017-05-01 10:42:41 -07:00
Mohamed Hegazy
3abd0c8ac2 Revert "Add tests"
This reverts commit 50f84b12a2ad5fef8294410c2cdfcce35b49a577.
2017-04-25 14:47:16 -07:00
Mohamed Hegazy
cf17be2c76 Revert "Add another test case"
This reverts commit 510bc8196760f9d62b29d2f3e48a8bc6ad0d8d14.
2017-04-25 14:46:30 -07:00
Mohamed Hegazy
22647bbae4 Revert "Update tests"
This reverts commit 3cda0eac32e265a0f4e4b0814af8b4724bfa889d.
2017-04-25 14:46:06 -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
gcnew
9c2a74c26c Update tests 2017-04-23 19:14:21 +03:00
Anders Hejlsberg
85d4593033 Add regression test 2017-04-22 17:09:20 -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 Hanson
4ff180d814 Fix null error in importTracker: VariableDeclaration might not have a VariableStatement ancestor 2017-04-21 07:55:16 -07:00
Mohamed Hegazy
24814ec387 Merge pull request #15260 from Microsoft/Fix15200
Fix #15200: Query for semantic errors on .js files with '@ts-check' with no config file
2017-04-20 13:46:52 -07:00
Yui T
b7a30c11bd Update tests and baselines 2017-04-19 22:33:54 -07:00
Ron Buckton
6c176138ca Fix loop block scope binding in generator 2017-04-19 17:06:12 -07:00
Ron Buckton
96927379f0 Emit generated name for unnamed default exported class with decorated members 2017-04-19 14:53:32 -07:00
Nathan Shively-Sanders
a8593996f9 Merge pull request #15258 from Microsoft/mergeSymbol-uses-first-decl-not-valueDecl
mergeSymbol uses first declaration, not valueDeclaration
2017-04-19 08:47:43 -07:00
Mohamed Hegazy
8c33a792b3 Do not query for bind errors if skipLibCheck or skipDefaultLibCheck is set 2017-04-18 16:19:58 -07:00
Nathan Shively-Sanders
eba15f41e4 Test:type alias merged w/interface-namespace errors
Previously it crashed when it assumed valueDeclaration was always
defined.
2017-04-18 16:19:05 -07:00
Nathan Shively-Sanders
2e43c869b4 Merge pull request #15257 from Microsoft/unknown-properties-are-assignable-to-Object-in-union
Unknown properties are assignable to `Object` in union
2017-04-18 15:21:46 -07:00
Nathan Shively-Sanders
8ab22217c1 Test:Unknown properties are assignable to Object in union
Add test and accept baselines
2017-04-18 14:58:27 -07:00
Mohamed Hegazy
6de4693118 Merge pull request #15240 from Microsoft/fixCrashFindingLocals
Check if container has locals before looking up properties
2017-04-18 14:40:26 -07:00
Mohamed Hegazy
e6ecfa46f0 Merge pull request #15229 from Microsoft/Fix15220
Fix #15220: Check for file on diagnostics before getting line map
2017-04-18 14:39:54 -07:00
Ron Buckton
2ca1de514a Merge pull request #15241 from Microsoft/fix15205
Yield in async generator should implicitly unwrap operand
2017-04-18 13:25:20 -07:00
Nathan Shively-Sanders
e36d8d5c63 Merge pull request #15239 from Microsoft/typeof-can-refer-class-before-declaration
Typeof can refer to block-scoped values before declaration
2017-04-18 13:12:28 -07:00
Anders Hejlsberg
cef42c97fe Merge pull request #15104 from Microsoft/covariantCallbacks
Covariant checking for callback parameters
2017-04-18 11:35:21 -07:00
Ron Buckton
5dca7ccb1d Fix yield* as well 2017-04-17 16:37:48 -07:00
Mohamed Hegazy
b7c416cdeb Check if container has locals before looking up properties 2017-04-17 16:26:49 -07:00
Nathan Shively-Sanders
3739216c79 Merge branch 'master' into typeof-can-refer-class-before-declaration 2017-04-17 15:30:16 -07:00
Nathan Shively-Sanders
aaf861af96 Remove TODO from test now that it's done 2017-04-17 15:25:36 -07:00
Nathan Shively-Sanders
42ac23a585 Test: typeof can refer to block-scoped var before declaration 2017-04-17 15:20:36 -07:00
Nathan Shively-Sanders
f071928a9e Merge branch 'master' of https://github.com/Microsoft/TypeScript 2017-04-17 14:01:56 -07:00
Nathan Shively-Sanders
0292f5867c Merge branch 'allow-export-specifier-reference' of https://github.com/Kovensky/TypeScript into Kovensky-allow-export-specifier-reference 2017-04-17 13:59:58 -07:00
Kanchalai Tanglertsampan
f6f0813528 Merge branch 'master' into master-jsxChildren
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/diagnosticMessages.json
2017-04-17 13:31:12 -07:00
Mohamed Hegazy
4546b0dd8e Make sure we have a node for the error in cases of special property assignment 2017-04-17 13:15:27 -07:00
Kanchalai Tanglertsampan
9a23b75f05 Update baselines and tests (2) 2017-04-17 13:00:38 -07:00
Mohamed Hegazy
4e29b1883d Merge pull request #15051 from Microsoft/at_types
Support @types module resolution from scoped packages
2017-04-17 10:08:15 -07:00