Commit graph

8325 commits

Author SHA1 Message Date
Yui T d57ee1db79 Merge branch 'master' into errorsuperbeforethis
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/types.ts
2015-10-08 23:57:26 -07:00
Yui T 1fc11aa18f Address PR feedback, add comment 2015-10-08 23:25:05 -07:00
Yui T 5e921c1d8d Address PR feedback, remove scriptTarget ES7 2015-10-08 17:12:22 -07:00
Yui T af5dc3e3b3 Address PR feedback. Always emit parentheses around emit capturing 2015-10-08 16:59:49 -07:00
Mohamed Hegazy 350bb1f315 Merge pull request #5167 from jbondc/const-indexed-access
Const enum indexed access
2015-10-08 15:39:14 -07:00
Yui T cd3f711a76 Address PR feedback 2015-10-08 14:38:58 -07:00
jbondc afa08181e2 Address code review.
Accept baselines.
2015-10-08 17:30:46 -04:00
Anders Hejlsberg bff9148fe0 Merge pull request #5176 from Microsoft/emitExportAssignments
Fix emit for `export {...}` with ES6 target and non-ES6 modules
2015-10-08 13:18:57 -07:00
Anders Hejlsberg 241220411e Merge branch 'master' into emitExportAssignments 2015-10-08 12:02:04 -07:00
Anders Hejlsberg cae21c09b4 Adding tests 2015-10-08 10:58:58 -07:00
Zhengbo Li c2a589826d Merge pull request #5159 from zhengbli/i4942
Change types of fillStyle and strokeStyle in CanvasRenderingContext2D
2015-10-08 10:18:50 -07:00
Anders Hejlsberg 533c4eb0c2 Emit export assignments when target is ES6 and module kind is not ES6 2015-10-08 10:18:14 -07:00
jbondc 82eb992dc4 Accept baselines. 2015-10-08 08:21:28 -04:00
jbondc 8960f523ea Resolve const enum value in index access. 2015-10-08 07:57:35 -04:00
Yui T 75de6d4530 Add comment 2015-10-07 18:44:20 -07:00
Vladimir Matveev 0d95d0405c Merge pull request #5153 from Microsoft/transpileTsx
transpile text as tsx if jsx option is specified
2015-10-07 16:33:22 -07:00
Vladimir Matveev fb1d2cf42c address PR feedback 2015-10-07 15:48:53 -07:00
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
Vladimir Matveev 75af4f70b6 transpile text as tsx if jsx option is specified 2015-10-07 10:37:28 -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
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
Vladimir Matveev 1b909d80e5 remove unused function from the EmitResolver 2015-10-06 12:51:24 -07:00
Ron Buckton ab73b4f103 Fix linter warnings. 2015-10-06 12:37:10 -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
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
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
Ryan Cavanaugh 7280509058 Don't show lib.d.ts line numbers in symbol baselines 2015-10-05 16:37:45 -07:00
Mohamed Hegazy 53cff210fd Merge pull request #5103 from SaschaNaz/formatStringTemplates
Format template internal spaces
2015-10-05 16:01:10 -07:00
Mohamed Hegazy edc938fd46 Merge pull request #5120 from Microsoft/removeInternalFromNPM
add internal to nmpignore
2015-10-05 14:22:22 -07:00
Mohamed Hegazy 3fd0930656 add internal to nmpignore 2015-10-05 13:32:06 -07:00