Commit Graph

8485 Commits

Author SHA1 Message Date
Vladimir Matveev
b3ed46f0df port 5662 into release-1.7 2015-11-13 15:08:30 -08:00
Zhengbo Li
6e918d1a20 Merge pull request #5656 from zhengbli/CherryPicking5593To17
Cherrypicking PR 5593
2015-11-13 12:07:46 -08:00
zhengbli
04a05b26e4 Cherrypicking PR 5593 2015-11-13 11:44:02 -08:00
Mohamed Hegazy
e3b2fe9ede Update LKG 2015-11-11 12:44:41 -08:00
Mohamed Hegazy
e110e68b44 Merge pull request #5606 from Microsoft/revert-5604-updateversion
Revert "Update version to 1.7.4"
2015-11-10 21:33:48 -08:00
Yui T
97c80f3bc7 Update the package.json version 2015-11-10 18:33:05 -08:00
Yui T
bb9efe6985 Use version 1.7.3 2015-11-10 18:21:08 -08:00
Yui
03b8eeb3f3 Revert "Update version to 1.7.4" 2015-11-10 18:00:36 -08:00
Yui
049714996e Merge pull request #5604 from Microsoft/updateversion
Update version to 1.7.4
2015-11-10 18:00:29 -08:00
Yui T
0ad4de1518 Update version to 1.7.4 2015-11-10 17:32:50 -08:00
Mohamed Hegazy
9b84247469 Update LKG 2015-11-02 13:26:10 -08:00
Nathan Shively-Sanders
c5e611891b Add a variable of type this in constructor body
The test already had a reference to the `this` value, but that doesn't
show that the *type* is allowed.
2015-11-02 11:24:51 -08:00
Nathan Shively-Sanders
e83129b197 Switch to isNodeDescendantOf 2015-11-02 11:24:46 -08:00
Nathan Shively-Sanders
515ddc2a56 Fix isConstructorParameter 2015-11-02 11:24:43 -08:00
Nathan Shively-Sanders
86f6378e37 Accept baselines 2015-11-02 11:24:33 -08:00
Nathan Shively-Sanders
455cccee9c Add tests based on #5449 2015-11-02 11:24:29 -08:00
Nathan Shively-Sanders
53d392151d Forbid 'this' as constructor parameter type 2015-11-02 11:24:20 -08:00
Ron Buckton
e3218591d2 Update LKG 2015-10-28 14:16:44 -07:00
Ron Buckton
0676f79e28 Linter errors 2015-10-28 14:15:41 -07:00
Ron Buckton
e64fa42b29 Use resolvedSymbol instead of mergedSymbol.
Fixes #5333.
2015-10-28 14:14:35 -07:00
Mohamed Hegazy
7d99460748 Merge pull request #5436 from Microsoft/fix5430
Fix #5430: Use FileMap to store file list in tsserver
2015-10-28 13:37:31 -07:00
Mohamed Hegazy
616b0d7939 Fix #5430: Use FileMap instead of a simple Map for storing file list in tsserver 2015-10-28 10:05:29 -07:00
Mohamed Hegazy
2bf0d4f85c Merge branch 'release-1.7' of https://github.com/Microsoft/TypeScript into release-1.7 2015-10-27 10:01:38 -07:00
Mohamed Hegazy
6b080fe7c3 Update LKG 2015-10-27 10:01:21 -07:00
Vladimir Matveev
f42793ab22 Merge pull request #5409 from Microsoft/port-5408
Port 5408 into release-1.7
2015-10-27 09:59:07 -07:00
Ryohei Ikegami
bf7d6574d5 Accept baseline 2015-10-27 09:49:57 -07:00
Ryohei Ikegami
18cf2e490f Add compiler test 2015-10-27 09:49:51 -07:00
Ryohei Ikegami
60572bad94 Add tests for nested destructuring 2015-10-27 09:49:44 -07:00
Ryohei Ikegami
0caac5fa97 Do not type non-identifier binding name 2015-10-27 09:49:37 -07:00
Vladimir Matveev
3313e5b965 addressed PR feedback 2015-10-26 16:59:54 -07:00
Vladimir Matveev
c8d8becc78 use process.stdout.write on server 2015-10-26 16:59:44 -07:00
Vladimir Matveev
ba0b0d6333 Merge pull request #5406 from Microsoft/Port-5405
Ports 5405 into release-1.7
2015-10-26 14:20:38 -07:00
Vladimir Matveev
5162edbdc2 allow other files except .d.ts as external library packages 2015-10-26 11:44:57 -07:00
Zhengbo Li
fb09401ef7 Merge pull request #5394 from zhengbli/patchRelease17
Cherry-picking PR#5336 and PR#5354 into release-1.7
2015-10-24 20:18:15 -04:00
zhengbli
674108a0b7 Cherry-picking PR#5336 and PR#5354 into release-1.7 2015-10-24 19:22:32 -04:00
Nathan Shively-Sanders
23504a045f Use emptyArray instead of [] for no base types. 2015-10-23 14:59:46 -07:00
Nathan Shively-Sanders
f75e32eef6 Improve mergedInheritedClassInterface test case
Covers the case when the merged interface extends an interface, but the
merged class does not extend a class, then trying to extend that class.
2015-10-23 14:59:42 -07:00
Nathan Shively-Sanders
e8ddd419df Root class merged with interface can be extended
I found that merging a class that has no base with an interface that has a
base class causes a crash because `getDefaultConstructSignatures` assumes
that any base must be a class base. Which was true in the previously buggy
state.
2015-10-23 14:59:38 -07:00
Nathan Shively-Sanders
6fe1725ad1 Accept new baselines 2015-10-23 14:59:33 -07:00
Nathan Shively-Sanders
e12afac674 Improve naming of test members 2015-10-23 14:59:29 -07:00
Nathan Shively-Sanders
04e1d85314 Accept baselines
A couple of tests were previously updated to give an incorrect error
message.
2015-10-23 14:59:25 -07:00
Nathan Shively-Sanders
4610cfc9f3 Tests for interfaces merged w/classes
Both interfaces and classes have base classes/interfaces; all members are
available on an instance of the merged child.
2015-10-23 14:59:20 -07:00
Nathan Shively-Sanders
f16a969856 getBaseTypes handles interfaces merged w/classes
Previously it assumed that if a class was present in the merge, only the
class base types needed to be used. This became false when classes and
interfaces could be merged.
2015-10-23 14:59:13 -07:00
Nathan Shively-Sanders
41d4e82068 Fix union types of variadic functions
The check used `=== len - 1` instead of `>= len - 1` to check whether a
parameter index might be pointing to a rest argument.
2015-10-23 14:56:50 -07:00
Nathan Shively-Sanders
36549572aa Add tests and accept baselines 2015-10-23 14:56:32 -07:00
Ron Buckton
42d055fdf3 Update LKG 2015-10-20 13:01:13 -07:00
Ron Buckton
34cc9bfe77 Tests 2015-10-20 12:58:30 -07:00
Ron Buckton
d8ed038f29 Fixes issue in emitExpressionIdentifier when combining --target ES6 with --module.
Fixes #5315.
2015-10-20 12:57:18 -07:00
Mohamed Hegazy
ad59202a93 Update LKG v1.7.2 2015-10-16 17:06:18 -07:00
Mohamed Hegazy
d8c25ccf3f Merge branch 'master' into release-1.7 2015-10-16 16:59:34 -07:00