Commit Graph

10487 Commits

Author SHA1 Message Date
vladima
a81c875f3e Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-12-11 09:29:20 -08:00
Zhengbo Li
8c6105f4dc Merge pull request #6066 from zhengbli/i6016_for17
Roll back to polling file watching for 1.7
2015-12-10 23:40:45 -08:00
Zhengbo Li
564c4af59b Rollback to polling file watching 2015-12-10 23:27:07 -08:00
Wesley Wigham
14374e6253 split tests by completions/quick info 2015-12-10 20:00:52 -08:00
Wesley Wigham
ef6c137f9e add feedback from PR 2015-12-10 19:55:08 -08:00
Yui T
9e6c196c36 Remove includeGlobalSymbol boolean 2015-12-10 18:09:02 -08:00
Zhengbo Li
36cc0e017b fix linter errors 2015-12-10 17:59:07 -08:00
Zhengbo Li
5fa7bec226 revert back to polling watching for approaching release 2015-12-10 17:54:03 -08:00
Yui T
59982aba22 Update testcases 2015-12-10 17:35:10 -08:00
Anders Hejlsberg
ff784770be Merge pull request #5949 from Microsoft/typeParametersAsConstraints
Type parameters as constraints
2015-12-10 16:53:59 -08:00
Anders Hejlsberg
2e5a4ea983 Adding regression test 2015-12-10 16:19:02 -08:00
Anders Hejlsberg
7fe811e6b2 Defer checks of accessor bodies in object literals 2015-12-10 16:02:46 -08:00
Sheetal Nandi
df3a74b6ca Removed some unnecessary changes and added comments 2015-12-10 15:35:47 -08:00
Nathan Shively-Sanders
da8e19e191 Use typeof enum to resolve members.
Use getTypeOfSymbol >> resolveStructuredTypeMembers >> properties instead
of looking at declarations.
2015-12-10 15:25:01 -08:00
Sheetal Nandi
9c413f7d55 Accepting existing test cases baseline after verification 2015-12-10 15:20:32 -08:00
Sheetal Nandi
513e1f5fce If the destructuring assignment is synthetic use the left side as source map
This helps in scenarios like below where the assignment is created synthetically
for ({a} of {a: string}) {
}
2015-12-10 15:03:10 -08:00
Sheetal Nandi
631e62d7ba Tests for source map of variable declarations with binding pattern in differnt order in the declaration list 2015-12-10 14:44:46 -08:00
Nathan Shively-Sanders
7530409695 Add merged enum test 2015-12-10 14:28:46 -08:00
Nathan Shively-Sanders
a995b23e4a Handle merged enums 2015-12-10 14:28:29 -08:00
Sheetal Nandi
7d60c5e630 Fix the temporary assignment source maps in a better way
This doesnt create synthetic nodes with source map node on them
And makes us determine what to put source map on for temporary assignments
2015-12-10 14:10:34 -08:00
Anders Hejlsberg
5cb2b6afde Adding tests 2015-12-10 14:09:18 -08:00
Wesley Wigham
139f10fb44 test for and fix #6043 2015-12-10 14:08:50 -08:00
Anders Hejlsberg
5ab5338574 Fix declaration emitter scoping issue for type parameter constraints 2015-12-10 13:55:57 -08:00
Anders Hejlsberg
3055445d27 Adding test 2015-12-10 13:54:58 -08:00
Nathan Shively-Sanders
ff0138878d Add tests from review 2015-12-10 13:47:31 -08:00
Nathan Shively-Sanders
cc1d8cf395 Address review comments 2015-12-10 13:47:18 -08:00
Wesley Wigham
591f96321c Add language service tests for this predicates 2015-12-10 13:25:26 -08:00
Sheetal Nandi
8948f9be50 Add support for modifying last encoded source map's source location
With this, we can just highlight the bindingElement when the temp variable
for it is assigned.
Note there are few scenarios like below which would still highlight let part
but thats because of how default value source mapping is currently which is next
in pipeline to support binding element with default values
for (let {name: nameA, skill: skillA } of robots) {
    console.log(nameA);
}
or
for (let [numberA2, nameA2, skillA2] of robots) {
    console.log(nameA2);
}
2015-12-10 12:29:14 -08:00
Anders Hejlsberg
9810ddf326 Include fresh type parameters in type parameter mapper function 2015-12-10 12:07:17 -08:00
Yui T
03c8d2f293 Rename parameter 2015-12-10 11:42:20 -08:00
Nathan Shively-Sanders
6ed5b59f75 Add test case and accept baseline 2015-12-10 11:05:25 -08:00
Nathan Shively-Sanders
6cd5a4dac9 Compare enums semi-structurally.
1. Unqualified names must match.
2. Target contains members with same names as all source members.
2015-12-10 11:03:45 -08:00
SaschaNaz
d8260b7059 whitespaces 2015-12-11 00:24:10 +09:00
SaschaNaz
f2cad8be40 getCurrentLeadingTrivia 2015-12-10 23:05:45 +09:00
SaschaNaz
54c00b0abe Merge remote-tracking branch 'refs/remotes/Microsoft/master' into formatWhitespaces 2015-12-10 22:50:35 +09:00
SaschaNaz
f5587151ba applying three feedbacks 2015-12-10 22:07:01 +09:00
Wesley Wigham
58400ed771 Merge pull request #5906 from weswigham/this-type-guards
This type predicates for type guards
2015-12-09 17:22:39 -08:00
Daniel Rosenwasser
6e06752c05 Merge pull request #5972 from reavowed/master
Limit error reporting for methods to the method name
2015-12-09 17:14:42 -08:00
Wesley Wigham
8e586943a1 accept baselines 2015-12-09 16:43:45 -08:00
Wesley Wigham
2885eb2047 Merge branch 'master' into this-type-guards 2015-12-09 16:34:42 -08:00
Zhengbo Li
e67574446a Fix too many watcher instances issue 2015-12-09 16:21:04 -08:00
Wesley Wigham
bc01b16057 reorder if 2015-12-09 16:06:21 -08:00
Wesley Wigham
82386564d4 destructuring applied 2015-12-09 15:58:57 -08:00
Wesley Wigham
028484664d most pr feedback 2015-12-09 15:53:39 -08:00
Daniel Rosenwasser
ecfeb21965 Merge pull request #6004 from Microsoft/IICEs
Fix code for immediately 'new'-ed/invoked class expressions
2015-12-09 14:15:38 -08:00
Sheetal Nandi
9fd525bc7c Simplify the array binding pattern element to determine what to highlight 2015-12-09 13:02:09 -08:00
Sheetal Nandi
250ddca65b Update existing baselines 2015-12-09 12:39:57 -08:00
Sheetal Nandi
bbfe6b5e94 Test case for sourcemap of "For of" that initializes vars using object literal binding pattern 2015-12-09 12:39:53 -08:00
Sheetal Nandi
35ec9caf65 Make sourcemap of "For" that initializes vars using object literal binding pattern better 2015-12-09 12:39:48 -08:00
Sheetal Nandi
67d2877718 Test case for "For" that initializes vars using object literal binding pattern 2015-12-09 12:39:44 -08:00