Commit Graph

6765 Commits

Author SHA1 Message Date
Sheetal Nandi
adcc685456 Fix the array binding pattern breakpoint span of variable declaration statement 2015-12-17 16:41:34 -08:00
Sheetal Nandi
c25bfe57c6 Support for breakpoint spans in object binding pattern 2015-12-17 16:31:18 -08:00
Sheetal Nandi
834aa95334 Make changes to baselining breakpoint validation of current file to use default baseline name 2015-12-17 14:00:34 -08:00
Sheetal Nandi
8f98e3f160 Merge branch 'master' into sourceMapDestructuring 2015-12-17 13:29:45 -08:00
Anders Hejlsberg
55d4f0f7e4 Merge pull request #6083 from Microsoft/simplifyDeferredChecking
Simplify deferred function, class, and accessor checking
2015-12-15 09:07:07 -08:00
Ryan Cavanaugh
2f447ee005 Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Ryan Cavanaugh
37f3ff8d05 Check for function flag on class symbol 2015-12-14 11:32:06 -08:00
Anders Hejlsberg
e354aec8a3 Mark anonymous type as resolved before resolving call signatures 2015-12-13 18:25:45 -08:00
Anders Hejlsberg
b44f6e47d6 Simplify deferred checking of function, class, and accessor bodies. 2015-12-12 15:56:43 -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
Paul van Brenk
9d1cc31144 Merge pull request #6074 from Microsoft/supportChakra
make ChakraHost more generally usefull
2015-12-11 16:55:39 -08:00
Paul van Brenk
27493736c3 trailing whitespace 2015-12-11 16:32:44 -08:00
Paul van Brenk
0c365daac5 make ChakraHost more generally usefull 2015-12-11 16:19:08 -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
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
Anders Hejlsberg
18e23a1b90 Addressing CR feedback 2015-12-11 10:52:04 -08:00
Zhengbo Li
564c4af59b Rollback to polling file watching 2015-12-10 23:27:07 -08:00
Wesley Wigham
ef6c137f9e add feedback from PR 2015-12-10 19:55:08 -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
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
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
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
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
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
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
2885eb2047 Merge branch 'master' into this-type-guards 2015-12-09 16:34:42 -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
35ec9caf65 Make sourcemap of "For" that initializes vars using object literal binding pattern better 2015-12-09 12:39:48 -08:00
Sheetal Nandi
b1d395c4cf Make the destructuring array literal assignment better with sourcemap 2015-12-09 12:39:31 -08:00
Sheetal Nandi
edd55ddf51 Make the source map of "for of" destructuring - object binding pattern better 2015-12-09 12:39:09 -08:00
Sheetal Nandi
de7626356c Better the destructuring of nested array binding pattern 2015-12-09 12:38:52 -08:00
Sheetal Nandi
7c618a494d Better the sourcemap for array binding pattern 2015-12-09 12:38:43 -08:00
Sheetal Nandi
8af2160922 Make nested object literal destructuring pattern better 2015-12-09 12:38:26 -08:00
Sheetal Nandi
4ebf5695a7 Better sourcemaps for destructuring 2015-12-09 12:38:17 -08:00
Ryan Cavanaugh
fcfc424b49 One more 2015-12-09 11:18:40 -08:00
Ryan Cavanaugh
50892acfd8 Address CR feedback 2015-12-09 11:16:57 -08:00
Daniel Rosenwasser
99ea3ca9b5 Moved a paren. 2015-12-08 17:49:11 -08:00
Wesley Wigham
b0bfa0f0dc Merge branch 'master' into this-type-guards 2015-12-08 17:48:33 -08:00
Wesley Wigham
0228ec3ced preserve some old behavior at @DanielRosenwassers request 2015-12-08 17:45:11 -08:00
Ryan Cavanaugh
383cbf06c4 Merge pull request #5996 from RyanCavanaugh/fix5994
Disallow modifiers in object literal property assignment
2015-12-08 17:40:50 -08:00
Ryan Cavanaugh
d3c9815526 Improve comment 2015-12-08 17:37:38 -08:00
Wesley Wigham
459430165d grand unified theory of predicate types 2015-12-08 17:08:57 -08:00