Commit graph

12491 commits

Author SHA1 Message Date
Nathan Shively-Sanders f19844fbe9 Merge pull request #9580 from Microsoft/compile-with-noImplicitThis
Compile with --noImplicitThis
2016-07-11 15:25:44 -07:00
zhengbli c19512edb5 Add node flag check 2016-07-11 14:57:54 -07:00
Nathan Shively-Sanders 1d202f6274 Merge pull request #9622 from Microsoft/update-conflicting-baseline
Update conflicting baseline.
2016-07-11 14:10:40 -07:00
Sheetal Nandi 78a1ca7d50 Make setting properties explicit instead of using parameter properties 2016-07-11 14:02:23 -07:00
Nathan Shively-Sanders fa0fab1523 Merge branch 'release-2.0' of https://github.com/Microsoft/TypeScript into release-2.0 2016-07-11 13:54:22 -07:00
Nathan Shively-Sanders 6414a5721c Remove another use of this, in program.ts 2016-07-11 13:49:36 -07:00
Bill Ticehurst 2f768f622e Merge pull request #9607 from Microsoft/issue9542
Fix #9542 (allow files under node_modules to be included in the compilation).
2016-07-11 13:47:39 -07:00
Bill Ticehurst 78da46c435 Merge pull request #9614 from Microsoft/port9607
Port9607
2016-07-11 13:47:28 -07:00
Nathan Shively-Sanders 4e02bc61a2 Update conflicting baseline.
PR #9574 added a baseline that #9578 caused to be changed. The two PRs
went in so close to each other that the CI build didn't catch the change
to the new test's baseline.
2016-07-11 13:10:01 -07:00
Nathan Shively-Sanders 6ad4482bac Update conflicting baseline.
PR #9574 added a baseline that #9578 caused to be changed. The two PRs
went in so close to each other that the CI build didn't catch the change
to the new test's baseline.
2016-07-11 13:04:48 -07:00
zhengbli 73f741418f fix the issue that @property types are not recoganized 2016-07-11 13:01:05 -07:00
Nathan Shively-Sanders 4598c13eec Provide a symbol for salsa-inferred class types 2016-07-11 12:51:45 -07:00
Nathan Shively-Sanders 9ae04223e3 Fix multiple Salsa assignment-declarations
Previously, all assignment-declarations needed to be of the same kind:
either all `this.p = ...` assignments or `C.prototype.p = ...`
assignments.
2016-07-11 12:51:24 -07:00
Nathan Shively-Sanders 2f8a5b34f6 Test for multiple salsa assignment-declarations 2016-07-11 12:50:59 -07:00
Nathan Shively-Sanders cc83c799aa Merge pull request #9578 from Microsoft/fix-salsa-out-of-memory-on-methods-returning-this
Provide a symbol for salsa-inferred class types
2016-07-11 11:41:18 -07:00
Nathan Shively-Sanders a138e6307f Avoid using this in object literals where possible 2016-07-11 11:30:22 -07:00
Nathan Shively-Sanders 135cc12218 Merge pull request #9574 from Microsoft/fix-union-of-salsa-property-types
Fix type union of differing Salsa assignment-properties
2016-07-11 11:29:02 -07:00
Sheetal Nandi 767da71cc1 Add __tokentag to Token 2016-07-11 11:28:14 -07:00
Sheetal Nandi 0764590691 Make sure the order of setting pos, end, flags, parent, kind is consistent among nodes, tokens and identifiers 2016-07-11 11:03:38 -07:00
Nathan Shively-Sanders a3d9a85546 Add --pretty to tsconfigs 2016-07-11 11:00:06 -07:00
Nathan Shively-Sanders 6d21cf6434 Add more default options to gulpfile 2016-07-11 10:32:35 -07:00
Nathan Shively-Sanders cf15e825ee Fix this in harness and improve gulpfile defaults 2016-07-11 09:30:58 -07:00
Bill Ticehurst 5f6eb5bb12 Removed duplicate logic
(cherry picked from commit 21bf801c6c)
2016-07-11 09:11:48 -07:00
Bill Ticehurst dd86be4e08 Added missing test files
(cherry picked from commit 97025d026d)
2016-07-11 09:11:47 -07:00
Bill Ticehurst f5769875e5 Fixed implicit any
(cherry picked from commit b75053cae3)
2016-07-11 09:11:47 -07:00
Bill Ticehurst f8a92611eb fixed lint error
(cherry picked from commit a7467a1d2b)
2016-07-11 09:11:46 -07:00
Bill Ticehurst 5eba2e09fb Fixed the node tracking and a harness bug
(cherry picked from commit 2ab1143f1c)
2016-07-11 09:11:46 -07:00
Bill Ticehurst ab45a56eda Updated test with relative import
(cherry picked from commit db54bda17b)
2016-07-11 09:11:46 -07:00
Bill Ticehurst b360ad5f3c Fix module tracking
(cherry picked from commit ca874bdd17)
2016-07-11 09:11:45 -07:00
Bill Ticehurst 21bf801c6c Removed duplicate logic 2016-07-10 23:07:45 -07:00
Bill Ticehurst 97025d026d Added missing test files 2016-07-10 22:25:31 -07:00
Bill Ticehurst b75053cae3 Fixed implicit any 2016-07-10 21:49:13 -07:00
Bill Ticehurst a7467a1d2b fixed lint error 2016-07-10 21:40:38 -07:00
Bill Ticehurst 2ab1143f1c Fixed the node tracking and a harness bug 2016-07-10 20:54:07 -07:00
Bill Ticehurst db54bda17b Updated test with relative import 2016-07-10 16:38:21 -07:00
Bill Ticehurst ca874bdd17 Fix module tracking 2016-07-10 16:12:42 -07:00
Mohamed Hegazy 37eac5fb7f Update .mailmap 2016-07-09 23:35:58 -07:00
Daniel Rosenwasser 0961352fac Accepted baselines. 2016-07-08 17:50:01 -07:00
Daniel Rosenwasser 348a4e9689 Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
Nathan Shively-Sanders b543074861 Compile with --noImplicitThis
1. Add to various tsconfig.json
2. Add to Jakefile
3. Add annotations where needed.
4. Add workaround to shims.ts, which uses toplevel `this`.
2016-07-08 15:13:32 -07:00
Nathan Shively-Sanders 3c1a69b637 Provide a symbol for salsa-inferred class types 2016-07-08 12:52:54 -07:00
Zhengbo Li 81e8840136 Merge pull request #9565 from zhengbli/fixTypedefParsingIssue
Fix typedef parsing issue
2016-07-08 12:51:02 -07:00
zhengbli ebc75a2511 Add test for parsed @typedef tag node shape 2016-07-08 10:02:00 -07:00
Nathan Shively-Sanders f84b731911 Test for multiple salsa assignment-declarations 2016-07-08 09:40:54 -07:00
Nathan Shively-Sanders 4721b91527 Fix multiple Salsa assignment-declarations
Previously, all assignment-declarations needed to be of the same kind:
either all `this.p = ...` assignments or `C.prototype.p = ...`
assignments.
2016-07-08 09:26:58 -07:00
Mohamed Hegazy f0d5ff6c94 Update harness getDirectories implementation for shims 2016-07-07 16:49:17 -07:00
Mohamed Hegazy 5c498cdc81 Parse the result of getDirectories call 2016-07-07 16:49:12 -07:00
Mohamed Hegazy 87e95069fc Update harness getDirectories implementation for shims 2016-07-07 16:46:49 -07:00
Mohamed Hegazy 028e2024e9 Update LKG 2016-07-07 16:26:19 -07:00
Mohamed Hegazy bab06f1193 Parse the result of getDirectories call 2016-07-07 16:10:20 -07:00