Commit Graph

35940 Commits

Author SHA1 Message Date
Yui T 3b8cdb684b Address comment to increment emitCount in separate line 2015-10-07 15:26:09 -07:00
Yui T 37db03ae6a Address feedback on diagnostic message 2015-10-07 14:50:58 -07:00
zhengbli 7175e5d1ae fix issue 4942 2015-10-07 14:32:17 -07:00
Wesley Wigham 0115d68877 PR Feedback, add enums to exceptions 2015-10-07 10:49:47 -07:00
SaschaNaz 2c395e6819 trimWhitespacesInEmptyLineTrivia 2015-10-08 02:48:10 +09:00
Vladimir Matveev 75af4f70b6 transpile text as tsx if jsx option is specified 2015-10-07 10:37:28 -07:00
SaschaNaz e873bc0b8c Merge remote-tracking branch 'Microsoft/master' 2015-10-07 14:46:43 +09:00
Wesley Wigham d8aa469a7d forbid duplicate var exports 2015-10-06 17:59:14 -07:00
Ron Buckton 738b26f065 Merge pull request #5145 from Microsoft/fixAsyncTypeChecks
Fixes some checker errors regarding async functions. Fixes #5115.
2015-10-06 16:57:19 -07:00
Ron Buckton 703af074ff Fixes some checker errors regarding async functions. Fixes #5115. 2015-10-06 16:44:48 -07:00
Ron Buckton 4d3c74fd80 Merge pull request #5137 from Microsoft/fixExportDefaultClassStatics
Fix emit for ES6 export default class with static initializers.
2015-10-06 15:55:45 -07:00
Wesley Wigham b9800f09b7 Handle export * reexport errors smartly 2015-10-06 15:50:35 -07:00
Sheetal Nandi 242eb8bc5c Taken feedback into account and simplified the getFileNames logic to handle extensions by priority 2015-10-06 15:49:39 -07:00
Ron Buckton f52b7cc2c5 Removed unnecessary check 2015-10-06 15:41:47 -07:00
Yui T 8be77b448f Update test to parse typeAssertion as simpleUnaryExpression 2015-10-06 15:29:21 -07:00
Yui T d96a00e4b8 Parse typeAssertion expression as simpleUnaryExpression 2015-10-06 15:28:48 -07:00
Vladimir Matveev 4795acf694 Merge pull request #5139 from Microsoft/getBlockScopedVariableIdIsNoMore
[cleanup] remove unused function from the EmitResolver
2015-10-06 14:16:13 -07:00
Yui T bfaa51b4e9 Add comment and address PR on comment 2015-10-06 14:09:47 -07:00
zhengbli 9ed5b4c435 more test fixes 2015-10-06 13:10:03 -07:00
Daniel Rosenwasser 87554cbc0c Merge branch 'master' into iFeelPrettyErr
Conflicts:
	src/compiler/commandLineParser.ts
2015-10-06 12:54:01 -07:00
Vladimir Matveev 1b909d80e5 remove unused function from the EmitResolver 2015-10-06 12:51:24 -07:00
Wesley Wigham ff7169530b trial of change 2015-10-06 12:49:42 -07:00
Ron Buckton ab73b4f103 Fix linter warnings. 2015-10-06 12:37:10 -07:00
zhengbli 8171dede90 Lint fixes and test fixes 2015-10-06 12:33:06 -07:00
Mohamed Hegazy 709274dbf2 Merge pull request #4724 from denvned/patch-1
Account for path options when pointing to the current working directory
2015-10-06 12:32:11 -07:00
Ron Buckton 64b6c9f52e Fix emit for ES6 export default class with static initializers. Fixes #5136. 2015-10-06 12:02:55 -07:00
Zhengbo Li e7c2003164 Merge pull request #5041 from zhengbli/RemoveMsInternalsFromLib
Remove Microsoft specific types from lib.d.ts
2015-10-06 10:36:48 -07:00
Nathan Shively-Sanders 78ad0f4c82 Re-enable failing fourslash tests 2015-10-06 10:03:27 -07:00
Ryan Cavanaugh d7eaa12aad Merge pull request #5126 from RyanCavanaugh/noLibSymbolLines
Don't show lib.d.ts line numbers in symbol baselines
2015-10-06 10:00:26 -07:00
Wesley Wigham a929d8ccdd Merge branch 'master' into travis-node-4 2015-10-06 06:59:21 -07:00
Tingan Ho dd54b7a36f Adds tests 2015-10-06 19:03:11 +08:00
Tingan Ho 5bcd8b3afa Fixes instance of type exclusion in else clause 2015-10-06 19:03:01 +08:00
Daniel Rosenwasser 5c5fca64f0 Just make the compiler option internal. 2015-10-05 23:56:38 -07:00
Daniel Rosenwasser c3e00a24f3 Only use colors if we are certain we are using a pseudoterminal. 2015-10-05 23:38:32 -07:00
Daniel Rosenwasser 2b4febee1c Moved JSX diagnostics to a more sensical spot. 2015-10-05 23:10:13 -07:00
Daniel Rosenwasser 7c73a661c5 Merge branch 'master' into iFeelPrettyErr
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/sys.ts
	src/compiler/tsc.ts
2015-10-05 23:08:59 -07:00
Daniel Rosenwasser ac5bed86b2 Added '--diagnosticStyle' compiler argument with options 'simple' and 'pretty'. 2015-10-05 22:59:34 -07:00
Sheetal Nandi 17fca985cc Fix tslint error 2015-10-05 22:09:32 -07:00
Yui T 788f222059 parenthesized exponentiation with template string 2015-10-05 19:07:49 -07:00
Yui T fbe559eef0 Address PR and add new with exponentiation 2015-10-05 19:07:02 -07:00
Yui T bd7cc1e7ef Invalid usage of exponentiation 2015-10-05 19:06:48 -07:00
Yui T d0aaf41252 Add baselines when having early syntax error in exponentiation 2015-10-05 19:06:17 -07:00
Yui T 46d799e05d Add baselines for using exponentiation in template string 2015-10-05 19:05:37 -07:00
Yui T bf970be0b3 Add baselines for downlevel emit exponentiation and ES7 emit of exponentiation 2015-10-05 19:05:14 -07:00
Yui T f8d6b344ee Update baselines for exponentiation compound operator with indexing and property assignment 2015-10-05 19:03:41 -07:00
Yui T a00e90c170 Add and update tests 2015-10-05 19:03:02 -07:00
Yui T 80cdfd4187 Fix emitting parenthesis when downlevel 2015-10-05 18:57:11 -07:00
Yui T 7b3de842a0 Update test harness to pick up new ScriptTarget of ES7 2015-10-05 18:56:39 -07:00
Yui T 69dc707c14 Update parse to use new grammar 2015-10-05 18:56:08 -07:00
Sheetal Nandi b580c5588e Merge branch 'master' into tscJsFiles 2015-10-05 16:42:37 -07:00