3396 Commits

Author SHA1 Message Date
Vladimir Matveev
012d1118a5 Merge pull request #8034 from Microsoft/enumsComputedPropertyNames
don't generate temp variables for computed property names in enums
2016-04-13 14:01:24 -07:00
Mohamed Hegazy
5f66c8766e Merge branch 'transforms' into moduleNameInOutput 2016-04-13 13:20:08 -07:00
Nathan Shively-Sanders
34ad57a972 Merge pull request #8027 from Microsoft/transforms-skip-es6-imports-inside-namespace
[Transforms] Do not emit ES6 import/export inside namespaces
2016-04-13 12:37:35 -07:00
Mohamed Hegazy
bc29c55882 Accept baselines 2016-04-12 16:33:06 -07:00
Mohamed Hegazy
00a4aab88d Accept baselines: better comment output 2016-04-12 16:32:24 -07:00
Mohamed Hegazy
b9c311cffe Accept baselines: extra parens 2016-04-12 16:31:05 -07:00
Mohamed Hegazy
6a39c30bbc Accept baselines: output formatting changes 2016-04-12 16:28:51 -07:00
Mohamed Hegazy
b3878a8ec2 Accept baselines: using dots consistenlly for numeric literals 2016-04-12 16:27:14 -07:00
Mohamed Hegazy
05dc168e25 Accept baseline: Static properties after export 2016-04-12 16:26:48 -07:00
Mohamed Hegazy
7077003731 Accept baselines: syntactically invalid input 2016-04-12 16:25:19 -07:00
Mohamed Hegazy
7c3df5acc7 Accept baseline: use strict in an empty module 2016-04-12 16:21:51 -07:00
Mohamed Hegazy
3f3a61ba26 Use double quotes consistently for module names 2016-04-12 16:21:27 -07:00
Nathan Shively-Sanders
ab49eb9fef Merge pull request #7970 from Microsoft/fix-transforms-empty-destructuring-assignment
[Transforms] Correct destructuring assignment to empty object
2016-04-12 14:59:31 -07:00
Vladimir Matveev
286d9079eb don't generate temp variables for computed property names in enums 2016-04-12 14:18:58 -07:00
Nathan Shively-Sanders
e6670811b0 Remove parentheses and accept baselines 2016-04-12 10:46:27 -07:00
Nathan Shively-Sanders
221c0f3656 Update es5 module internal imports test and related baselines 2016-04-12 09:56:51 -07:00
Yui
a27b4d07ae [Transform]: fix emit __extends within system.registry (#7973)
* Fix 7912: emit extends-helper inside System.registry

* Fix 7912: emit extends-helper inside System.registry

* Address PR: move setEmitNodeFlag into updateSourceFile

* Address PR: fix comment
2016-04-11 15:36:49 -07:00
Vladimir Matveev
1e49a57a8d Merge pull request #7972 from Microsoft/exportStarOfNonValues
emit export star only if export will yield anything with value side
2016-04-08 23:18:43 -07:00
Yui
fab09b0810 Update baselines (#7981) 2016-04-08 18:12:25 -07:00
Vladimir Matveev
c0a89aad1c handle export default 2016-04-08 17:25:40 -07:00
Yui
381c0260ff Accept correct baseline (#7967) 2016-04-08 11:30:08 -07:00
Ron Buckton
f61e122f9b Merge pull request #7940 from Microsoft/transforms-fix7914
[Transforms] Emits class name with comments.
2016-04-07 17:38:31 -07:00
Vladimir Matveev
586404ba09 record temp variable introduced in spread calls 2016-04-07 15:29:49 -07:00
Daniel Rosenwasser
4446727fa6 Merge pull request #7925 from Microsoft/correctStrictPrologueCheckToTransforms
Correct strict prologue check to transforms
2016-04-07 12:37:42 -07:00
Ron Buckton
9d2f0b37c0 Emits class name with comments. 2016-04-07 12:27:44 -07:00
Vladimir Matveev
5c6009ceae Merge pull request #7921 from Microsoft/unqualifiedEnumMembers
emit unqualified enum members as qualified
2016-04-07 11:20:02 -07:00
Ron Buckton
9b8436ca85 Merge pull request #7919 from Microsoft/transforms-fix7878
[Transforms] Revert to old emit for metadata.
2016-04-07 10:16:53 -07:00
Daniel Rosenwasser
cfb9001e18 Accepted baselines. 2016-04-07 00:58:53 -07:00
Daniel Rosenwasser
3a35aa30da Accepted baselines. 2016-04-07 00:56:28 -07:00
Mohamed Hegazy
e592304aee Fix #7922: Only bundle if module==AMD or module==System 2016-04-07 00:21:25 -07:00
Vladimir Matveev
0e0182c1ea emit unqualified enum members as qualified 2016-04-06 23:49:14 -07:00
Ron Buckton
4ead44db9b Revert to old emit for metadata. Also adds baselines support for transpiler tests.
Fixes #7878.
2016-04-06 18:59:54 -07:00
Mohamed Hegazy
20e64d76ae Accept baselines for invalid module +target combination. Closes #7876 2016-04-06 17:37:45 -07:00
Mohamed Hegazy
b9c37dcca1 Merge branch 'transforms' into acceptBaselines 2016-04-06 17:26:50 -07:00
Mohamed Hegazy
45cd93c9cb Enums with numeric names not emitted as string 2016-04-06 17:26:07 -07:00
Mohamed Hegazy
1561fe41a4 accept extra parens 2016-04-06 17:22:45 -07:00
Mohamed Hegazy
fd23fea47c better output for **= operator 2016-04-06 17:22:33 -07:00
Mohamed Hegazy
a2876aa8fd Remove empty comma expressions 2016-04-06 17:22:12 -07:00
Mohamed Hegazy
469e811fac use dots in all number accesses 2016-04-06 17:21:35 -07:00
Mohamed Hegazy
af4e44a8d8 export= in ES6 modules, accept latest 2016-04-06 17:21:09 -07:00
Mohamed Hegazy
17a062ab62 invalid export in blocks. 2016-04-06 17:20:41 -07:00
Mohamed Hegazy
27bd8e71b9 formatting 2016-04-06 17:20:17 -07:00
Mohamed Hegazy
fe5121652d Do not emit rest param if not the last. 2016-04-06 17:19:59 -07:00
Vladimir Matveev
86516470f2 Merge pull request #7899 from Microsoft/nestedBlockScopeBindings
fix scope tracking when converting loops
2016-04-06 17:19:37 -07:00
Mohamed Hegazy
68a9615bd2 invalid output in both cases, picking the latest 2016-04-06 17:19:34 -07:00
Mohamed Hegazy
b84507292e better output, previouslly block scoped variable was not renamed. 2016-04-06 17:18:48 -07:00
Mohamed Hegazy
7c7fd05a3e Formatting system module output 2016-04-06 17:18:04 -07:00
Mohamed Hegazy
a8de104018 Function declaration with string template, syntactically incorect. 2016-04-06 17:14:57 -07:00
Mohamed Hegazy
7e0b3066bc Invalid input, this in static property intializer. output is worng in both cases. 2016-04-06 17:14:30 -07:00
Mohamed Hegazy
181ab945af emit * in generators downlevel 2016-04-06 17:13:51 -07:00