Commit Graph

35940 Commits

Author SHA1 Message Date
Cyrus Najmabadi 21627384a8 Merge branch 'master' into propertyAccessEmit 2015-03-07 13:51:10 -08:00
Cyrus Najmabadi 2a990a8685 Preserve newlines for conditional expressions 2015-03-07 13:50:26 -08:00
Cyrus Najmabadi dddc4660a1 Simplify code to emit indent code. 2015-03-07 13:33:02 -08:00
Cyrus Najmabadi 680e48f507 Preserve newlines on either side of a binary expression. 2015-03-07 12:54:12 -08:00
Cyrus Najmabadi a18934d6da Address omitted return keyword. 2015-03-07 12:27:20 -08:00
CyrusNajmabadi ac56aa50ae Merge pull request #2251 from Microsoft/expressionToBlock
When emitting an arrow function, parenthesize the body if it could be interpreted as a block instead of an object literal.
2015-03-07 02:21:28 -08:00
Cyrus Najmabadi bdcdd84dda CR feedback. 2015-03-07 02:08:36 -08:00
Cyrus Najmabadi 0c5654164f Fix up comment. 2015-03-07 01:33:18 -08:00
Cyrus Najmabadi c76f71cfae When emitting an arrow function, parenthesize the body if it could be interpreted as a block instead of an object literal. 2015-03-07 01:30:45 -08:00
CyrusNajmabadi 241cee0879 Merge pull request #2248 from Microsoft/variableLike
Add an 'isVariableLike' helper function.
2015-03-06 19:19:11 -08:00
Cyrus Najmabadi 7f00378eef CR feedback. 2015-03-06 18:51:58 -08:00
Cyrus Najmabadi a76eb69996 Add an 'isVariableLike' helper function. 2015-03-06 18:45:45 -08:00
Anders Hejlsberg 865f67e738 Merge pull request #2197 from Microsoft/exportDefault
Complete support for ES6 modules
2015-03-06 17:36:33 -08:00
Daniel Rosenwasser b2287875ca Merge pull request #2243 from DickvdBrink/browser-test
Fixed jake runtests-browser on node 0.12
2015-03-06 17:24:02 -08:00
Anders Hejlsberg 5c56684187 Merge branch 'master' into exportDefault
Conflicts:
	tests/baselines/reference/exportAssignDottedName.errors.txt
2015-03-06 17:20:44 -08:00
Bill Ticehurst da5caf5f72 Made the 'version' string an exported property 2015-03-06 17:09:55 -08:00
Dick van den Brink 4c16b239be Fixed jake runtests-browser on node 0.12 2015-03-07 01:38:42 +01:00
Paul van Brenk af41be88a1 Merge pull request #2236 from Microsoft/signatureHelp
Signature help diagnostics
2015-03-06 15:31:20 -08:00
Mohamed Hegazy 59c3a7d71e Merge pull request #2235 from DickvdBrink/letConstInCatchclause
Let const in catchclause
2015-03-06 15:21:11 -08:00
Mohamed Hegazy ffd87b182b Merge pull request #2240 from DickvdBrink/VSDevMode-doc
Fixed VSDevMode.ps1 parameter info
2015-03-06 15:20:13 -08:00
Mohamed Hegazy 134ab8247f Merge pull request #2239 from caitp/issue-2237
Document procedure for digital CLA signature in CONTRIBUTING.md
2015-03-06 15:19:03 -08:00
Paul van Brenk 80f9cf299c fix check to allow for empty argument list 2015-03-06 15:09:19 -08:00
Caitlin Potter 564dd2eb4a Document procedure for digital CLA signature in CONTRIBUTING.md
Closes #2237
2015-03-06 18:07:02 -05:00
Bill Ticehurst 0ea31c37b5 Merge pull request #2222 from billti/tsconfigWatchFix
Fix watch to honor tsconfig.json setting
2015-03-06 14:44:44 -08:00
Bill Ticehurst 0e48714bf0 Merge pull request #2223 from billti/FixPathNormalization
Fix path normalization for patterns such as './/tsconfig.json'
2015-03-06 14:43:23 -08:00
Paul van Brenk 8083bbf18f Merge branch 'master' into signatureHelp 2015-03-06 14:30:21 -08:00
Paul van Brenk e9cb12aeab Add diagnostics for signaturehelp crash 2015-03-06 14:29:23 -08:00
unknown 2edb5c88d8 Added tests for let/const variable declarations in catch clause (with the same name) 2015-03-06 23:00:43 +01:00
unknown 129ef7222c Use hasProperty instead 2015-03-06 22:56:59 +01:00
Bill Ticehurst 0ba3a04c54 Fixed baselines to account for correct path normalization 2015-03-06 13:37:12 -08:00
unknown b4d723217e Error on redeclaring a variable with let/const already defined as catch parameter 2015-03-06 21:42:42 +01:00
unknown 5ca703eeb4 Add new diagnostics message for let/const declarations in a catch clause 2015-03-06 20:53:15 +01:00
Bill Ticehurst ee912ee1cd Fix path normalization for patterns such as './/tsconfig.json' 2015-03-05 23:53:16 -08:00
Bill Ticehurst 02eb7466a7 Fix watch to honor tsconfig.json setting 2015-03-05 23:32:54 -08:00
Jason Freeman 835c84f834 Minor baseline adjustment 2015-03-05 11:52:00 -08:00
Jason Freeman fecd20a3db Fix sourcemaps for 'for...of' and no source maps for synthesized nodes 2015-03-05 11:47:40 -08:00
Cyrus Najmabadi 62d304b069 Preserve newlines for property access expressions on multiple lines. 2015-03-05 02:31:55 -08:00
Jason Freeman 946dc0e0bc Accept error baselines and API breaks 2015-03-04 19:35:17 -08:00
Jason Freeman ed3ab96eed Add tests for destructuring 'for...of' 2015-03-04 19:35:13 -08:00
Jason Freeman 905f35091f Do not create a temp for RHS if it's an identifier 2015-03-04 19:35:10 -08:00
Jason Freeman 4bb0587dd4 Fix createTempVariable to always record the name in the currentScopeNames 2015-03-04 19:35:06 -08:00
Jason Freeman 4d3265088b Revert change to createTempVariable 2015-03-04 19:35:03 -08:00
Jason Freeman 9288424fb3 Accept baselines 2015-03-04 19:34:59 -08:00
Jason Freeman a99449a1ef Support destructuring in 'for...of' loops 2015-03-04 19:34:56 -08:00
Jason Freeman a0f108c4fb Emit 'for...of' statements with let/const initializers 2015-03-04 19:34:53 -08:00
Jason Freeman f915efa6d7 Emit for...of when LHS is expression 2015-03-04 19:34:49 -08:00
Jason Freeman 9b76a0298b Remove tempCount 2015-03-04 19:34:46 -08:00
Jason Freeman 5a878646ac Accept baselines 2015-03-04 19:34:43 -08:00
Jason Freeman 61224e92a0 Add tests for 'for...of' emit when LHS is a var 2015-03-04 19:34:39 -08:00
Jason Freeman 76e9b6ab0e Make createTempVariable call into generateUniqueNameForLocation 2015-03-04 19:34:36 -08:00