1015 Commits

Author SHA1 Message Date
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
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
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
6baa36b546 Test case for assignment expression with Array destructuring pattern 2015-12-09 12:39:27 -08:00
Sheetal Nandi
1da5b15c1a Test case for "For" statement with array binding pattern 2015-12-09 12:39:23 -08:00
Sheetal Nandi
24d0c98b51 Test case for "For" statement with object binding pattern 2015-12-09 12:39:18 -08:00
Sheetal Nandi
d8701c437c Test case for For Of statement with array binding pattern 2015-12-09 12:39:14 -08:00
Sheetal Nandi
c0f9de6d2c Test case for ForOf statement with object binding pattern 2015-12-09 12:39:05 -08:00
Sheetal Nandi
6f896836b8 Test cases for nested array binding pattern destructuring in parameters 2015-12-09 12:39:01 -08:00
Sheetal Nandi
bdcdd67fb2 Test case for parameter array binding pattern 2015-12-09 12:38:56 -08:00
Sheetal Nandi
7945de4cd3 Test case for nested array binding pattern 2015-12-09 12:38:48 -08:00
Sheetal Nandi
0532e8cb11 Test cases for variable statement with array binding pattern 2015-12-09 12:38:39 -08:00
Sheetal Nandi
ad73ab2c16 Test cases for nested object binding pattern in parameter declaration 2015-12-09 12:38:35 -08:00
Sheetal Nandi
7acc51c7a7 Tests for parameter object binding pattern 2015-12-09 12:38:31 -08:00
Sheetal Nandi
b497cbc635 Test case for nested object binding pattern in variable statement 2015-12-09 12:38:22 -08:00
Sheetal Nandi
e28272235c Test case for destructuring of variable statement 2015-12-09 12:38:13 -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
Vladimir Matveev
268e7c0d09 Merge remote-tracking branch 'origin/master' into elideExportStarForNonValues 2015-12-08 13:15:56 -08:00
Ryan Cavanaugh
92d7d1c953 Disallow modifiers in object literal property assignment
Fixes bug #5994
2015-12-08 10:11:29 -08:00
Daniel Rosenwasser
2ef436f082 Merge pull request #5559 from MartyIX/issue-4045
Improve error messages for property declarations
2015-12-07 01:12:05 -08:00
Anders Hejlsberg
3ce91c438a Merge pull request #5942 from Microsoft/fixUnionToUnionTypeInference
Fix union/union or intersection/intersection type inference
2015-12-05 09:28:18 -08:00
Wesley Wigham
4735c00f05 Merge pull request #5420 from weswigham/undefined-unique
Error on redeclarations of undefined
2015-12-04 17:43:12 -08:00
Anders Hejlsberg
ae9d93b41a Adding test 2015-12-04 16:05:01 -08:00
Wesley Wigham
00576527bd break down tests, make more clear whats doing done, remove specific logic from mergeSymbolTable 2015-12-04 15:41:11 -08:00
Nathan Shively-Sanders
b1fac590c3 Merge pull request #5934 from Microsoft/inherit-construct-signature-from-extended-interface
Inherit construct signature from extended interface
2015-12-04 14:23:07 -08:00
Wesley Wigham
63fef5083a Merge branch 'master' into undefined-unique 2015-12-04 14:21:35 -08:00
Wesley Wigham
9b441d8343 Merge pull request #5148 from weswigham/duplicate-export-behavior
Make export var or export *'s with duplicate identifiers an error
2015-12-04 14:18:58 -08:00
Vladimir Matveev
e88dfb151a parse module specifier as string (old logic is kept for better error recovery) 2015-12-04 11:41:11 -08:00
Nathan Shively-Sanders
ae559a7ccf Add test and accept baselines 2015-12-04 08:24:17 -08:00
Martin Všetička
f15fe5b335 Improved error messages for property declarations 2015-12-04 09:20:49 +01:00
Yui
3a4ac33240 Merge pull request #5898 from Microsoft/fix3475_let
Disallow let in let/const declaration regardless of target
2015-12-03 22:27:33 -08:00
Sheetal Nandi
0ab538f5d0 Merge pull request #5839 from Microsoft/jsBinderErrors
Report binder diagnostics, program diagnostics as well as file pre processing diagnostics in javascript file
2015-12-03 15:45:06 -08:00
Anders Hejlsberg
86d4a4c11f Adding test to demonstrate limits of signature identity checking 2015-12-02 15:42:25 -08:00
Anders Hejlsberg
3e6d40f3fe Removing comment from test 2015-12-02 15:41:37 -08:00
Sheetal Nandi
4fcb53b253 Strict mode errors 2015-12-02 14:00:34 -08:00
Yui T
63ac3cda71 All tests for using let 2015-12-02 13:43:06 -08:00
Sheetal Nandi
da8557d672 Reachability errors 2015-12-02 12:49:53 -08:00
Sheetal Nandi
469b7fdcbb Strict mode errors 2015-12-02 12:35:34 -08:00
Sheetal Nandi
234527093a Multiple default exports error. 2015-12-02 12:00:53 -08:00
Sheetal Nandi
6116cc9c59 Duplicate symbol error 2015-12-02 11:59:53 -08:00
Sheetal Nandi
086d3945eb Merge branch 'master' into jsBinderErrors 2015-12-02 11:36:11 -08:00
Anders Hejlsberg
561360d550 Adding regression test 2015-12-02 10:23:49 -08:00
Daniel Rosenwasser
4092de6993 Merge pull request #5736 from UBC-CPEN/issue-5173
Give more helpful error when trying to set default values on an interface.
2015-12-01 13:05:09 -08:00
Vladimir Matveev
b40079e1da Merge pull request #5824 from Microsoft/implicitReturnInferredVoid
do not report 'noImplicitReturns' error if inferred return type of th…
2015-11-30 16:16:25 -08:00
Sheetal Nandi
5772dade97 Add test case for reporting file preprocessing error in javascript file 2015-11-30 13:59:03 -08:00
Wesley Wigham
d3f2f55ae8 rename tests, add another test, reoslve symbols for comparison 2015-11-30 12:44:13 -08:00
Vladimir Matveev
9552d4da44 ignore all trivia except singleline comments when processing tripleslash references 2015-11-29 21:17:31 -08:00
Vladimir Matveev
d0e4a4ca92 do not report 'noImplicitReturns' error if inferred return type of the function is void/any 2015-11-28 23:20:53 -08:00