Sheetal Nandi
35537b5f32
Implement breakpoint spans of array destructuring pattern of destructuring assignment
2015-12-22 14:54:21 -08:00
Sheetal Nandi
7146b4870f
Test cases for breakpoints in assingment statement with destructuring
2015-12-21 15:48:26 -08:00
Sheetal Nandi
681e3543d6
Fix the breakpoint spans of call / new expressions
2015-12-21 15:45:28 -08:00
Sheetal Nandi
843bdbb4bd
Fix the breakpoints in For Of destructuring
2015-12-21 13:01:21 -08:00
Sheetal Nandi
c5407a36d6
Test cases for destructuring in For Of statement
2015-12-21 11:53:31 -08:00
Sheetal Nandi
39dbad862c
Test cases for breakpoint in destructuring of For Initializers
2015-12-21 11:47:57 -08:00
Sheetal Nandi
4e702e5771
Implement breakpoints in paramters with destructuring binding pattern
2015-12-21 11:39:05 -08:00
Sheetal Nandi
73498e8bc2
Test cases for parameter destructuring pattern
2015-12-17 16:53:59 -08:00
Sheetal Nandi
adcc685456
Fix the array binding pattern breakpoint span of variable declaration statement
2015-12-17 16:41:34 -08:00
Sheetal Nandi
960e8a7698
Test cases for breakpoint span in array binding pattern of variable statement
2015-12-17 16:41:28 -08:00
Sheetal Nandi
c25bfe57c6
Support for breakpoint spans in object binding pattern
2015-12-17 16:31:18 -08:00
Sheetal Nandi
00e253ad88
Add test cases for variable statements with destructuring breakpoint validation
2015-12-17 14:00:56 -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
Anders Hejlsberg
3c8ad42a62
Adding regression test
2015-12-13 18:32:46 -08:00
Anders Hejlsberg
91b93439f1
Accepting new baselines
2015-12-12 15:57:39 -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
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
Sheetal Nandi
cee3388a29
Test cases for destructuring with default values in "for"
2015-12-11 14:42:25 -08:00
Sheetal Nandi
41ce29a033
Test cases for destructuring with default values in "for of"
2015-12-11 14:18:31 -08:00
Sheetal Nandi
25c6b16894
Test cases for destructuring with default values in parameter position
2015-12-11 13:54:49 -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
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
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
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
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
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
Sheetal Nandi
ac4b2bd795
Test case for "For" that initializes vars using array binding pattern
2015-12-09 12:39:40 -08:00
Sheetal Nandi
a99c9a00dc
Test case for "For of" that initializes vars using array binding pattern
2015-12-09 12:39:35 -08:00
Sheetal Nandi
b1d395c4cf
Make the destructuring array literal assignment better with sourcemap
2015-12-09 12:39:31 -08:00
Sheetal Nandi
6baa36b546
Test case for assignment expression with Array destructuring pattern
2015-12-09 12:39:27 -08:00