Commit Graph

4593 Commits

Author SHA1 Message Date
Yui T
c7ae143e62 Fix up fourslash test 2015-12-14 15:03:16 -08:00
Daniel Rosenwasser
2efa69773d Accepted baselines. 2015-12-14 14:24:55 -08:00
Daniel Rosenwasser
5cbf17d989 Added tests. 2015-12-14 14:16:31 -08:00
guybedford
a805b6d8c3 update System.register baseline with __moduleName output 2015-12-14 22:31:24 +02:00
Ryan Cavanaugh
2f447ee005 Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Yui T
7e71686b1a Fix broken tests 2015-12-14 10:14:35 -08:00
Anders Hejlsberg
3c8ad42a62 Adding regression test 2015-12-13 18:32:46 -08:00
vladima
b65c5779a2 addressed PR feedback 2015-12-12 23:07:18 -08:00
Yui T
99722e442c Add tests for binding pattern in parameter property declaration 2015-12-12 16:38:11 -08:00
Anders Hejlsberg
91b93439f1 Accepting new baselines 2015-12-12 15:57:39 -08:00
Yui T
d4ea6a0289 Merge branch 'master' into fix4686_fixrename 2015-12-12 15:53:16 -08:00
Yui T
b00fa42dea Update tests 2015-12-12 15:52:55 -08:00
Anders Hejlsberg
87036fe9f7 Merge pull request #6058 from Microsoft/delayAccessorBodyCheck
Defer checks of accessor bodies in object literals
2015-12-12 15:45:05 -08:00
Yui T
af65e86aaa Add tests 2015-12-11 19:28:21 -08:00
vladima
60e1f30182 allow usage of 'super' in object literal expressions 2015-12-11 17:16:28 -08:00
Wesley Wigham
7e5b83c2b3 Merge pull request #6042 from weswigham/fourslash-this-predicates
Add language service tests for this predicates
2015-12-11 16:33:36 -08:00
Wesley Wigham
8ecb045271 accept baseline 2015-12-11 16:29:39 -08:00
Wesley Wigham
5ee0957974 Merge pull request #6044 from weswigham/redeclared-export-type
Exempt one type declaration from the redeclared export check - Fix #6043
2015-12-11 16:15:22 -08:00
Wesley Wigham
f3b55b8198 whitespace 2015-12-11 16:14:47 -08:00
Daniel Rosenwasser
e012645309 Accepted baselines. 2015-12-11 15:08:45 -08:00
Daniel Rosenwasser
069fada0ce Accepted baselines. 2015-12-11 15:04:59 -08:00
Daniel Rosenwasser
3cdfc36109 Added tests for 'void' return type compatibilty on overloads and implementations. 2015-12-11 15:04:27 -08:00
Sheetal Nandi
cee3388a29 Test cases for destructuring with default values in "for" 2015-12-11 14:42:25 -08:00
Daniel Rosenwasser
8cceedd725 Accepted baselines. 2015-12-11 14:27:24 -08:00
Sheetal Nandi
41ce29a033 Test cases for destructuring with default values in "for of" 2015-12-11 14:18:31 -08:00
Yui T
15ac9b32ab Update tests 2015-12-11 14:12:57 -08:00
Daniel Rosenwasser
e9dc011080 Fixed unnecessary error in test. 2015-12-11 14:10:19 -08:00
Sheetal Nandi
25c6b16894 Test cases for destructuring with default values in parameter position 2015-12-11 13:54:49 -08:00
Daniel Rosenwasser
fc170da0e4 Merge branch 'master' into overloadCompatibility 2015-12-11 13:51:50 -08:00
Vladimir Matveev
f51de5b28f Merge pull request #5860 from Microsoft/superPropertiesInES6
do not error on 'super' property access in ES6
2015-12-11 13:20:20 -08:00
Sheetal Nandi
e362cb2c72 Test case for array binding pattern destructuring assignment with default values 2015-12-11 11:00:55 -08:00
Sheetal Nandi
321062a4d4 Test case for variable destructuring statement with array binding pattern and with default values 2015-12-11 10:59:46 -08:00
Sheetal Nandi
c7258db2b3 Test case for variable destructuring statement with object binding pattern and with default values 2015-12-11 10:44:16 -08:00
Wesley Wigham
14374e6253 split tests by completions/quick info 2015-12-10 20:00:52 -08:00
Yui T
9e6c196c36 Remove includeGlobalSymbol boolean 2015-12-10 18:09:02 -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
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
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
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
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
Nathan Shively-Sanders
6ed5b59f75 Add test case and accept baseline 2015-12-10 11:05:25 -08:00