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
Mohamed Hegazy
e98a76fb62
Merge pull request #5257 from Microsoft/module-merge-with-constructors
...
Module merge with constructors
2015-10-16 16:55:57 -07:00
Mohamed Hegazy
bb369f1423
Merge pull request #5290 from Microsoft/interfaceClassMergingFix
...
Do not report errors for classes and interfaces merging
2015-10-16 16:45:31 -07:00
Mohamed Hegazy
8b8d33d8b8
Fix comments
2015-10-16 16:29:11 -07:00
Nathan Shively-Sanders
a8aa48e73f
Merge pull request #5230 from Microsoft/ambient-class-merges-overloads-with-interface
...
Ambient class merges overloads with interface
2015-10-16 15:08:59 -07:00
Ron Buckton
5b9469850a
Merge pull request #5294 from Microsoft/fixDecoratorSwitch
...
Fixes an issue with decorators when compiling using tsc.exe
2015-10-16 14:54:07 -07:00
Ron Buckton
81e784c01e
Fixed linter error
2015-10-16 14:36:36 -07:00
Ron Buckton
798ffa763d
Switched switch statement to if branches.
...
Fixes #5229 .
2015-10-16 12:36:51 -07:00
Mohamed Hegazy
35a303ac01
Do not report errors for classes and interfaces merging
2015-10-16 10:54:35 -07:00
Nathan Shively-Sanders
302db0a9d5
Merge pull request #5272 from Microsoft/es2015-target
...
Add ES2015 as a synonym to ES6
2015-10-15 12:46:47 -07:00
Paul van Brenk
9fda05d692
Merge pull request #5271 from Microsoft/updateVersion1.7.2
...
Update version to match VS version
2015-10-15 11:43:20 -07:00