7743 Commits

Author SHA1 Message Date
Mohamed Hegazy
843f229f2a Merge pull request #7923 from Microsoft/Fix7922
Only bundle if module==AMD or module==System
2016-04-07 09:26:49 -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
1317d23a8a Merge pull request #7902 from Microsoft/blockScopedBindingsInForOf
enable generated names for block-scoped binding in for-of
2016-04-06 21:14:43 -07:00
Ron Buckton
c9c6e5ab4f Merge pull request #7916 from Microsoft/transforms-fixClassNamesAndAutoParenForCall
[Transforms] Fixes class expression names and auto-parens in call/new
2016-04-06 19:00:06 -07:00
Daniel Rosenwasser
2f73857ed3 Merge pull request #7907 from Microsoft/extraFrom
Only emit the module specifier on an export if it is present.
2016-04-06 17:45:30 -07:00
Daniel Rosenwasser
e439abf236 Merge pull request #7915 from Microsoft/emitImportsAsConst
Emit imports as const declarations.
2016-04-06 17:44:19 -07:00
Daniel Rosenwasser
7d438a0897 Merge pull request #7897 from Microsoft/shebangLine
Add a newline after emitting shebangs.
2016-04-06 17:44:03 -07:00
Vladimir Matveev
8c9de1df68 Merge pull request #7906 from Microsoft/blockScopedNamesForClasses
treat classes as block scoped entities
2016-04-06 17:19:52 -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
Ron Buckton
e29f9a5e10 Fixes extra _1 in class names and auto-parentheses for comma expression in call/new.
Fixes #7857.
Fixes #7858.
2016-04-06 17:14:04 -07:00
Daniel Rosenwasser
b6111235dc Emit imports as const declarations. 2016-04-06 17:05:06 -07:00
Ron Buckton
3daeba3b53 Fix literal property names 2016-04-06 16:33:34 -07:00
Daniel Rosenwasser
1138b33c38 Only emit the module specifier on an export if it is present. 2016-04-06 16:10:01 -07:00
Vladimir Matveev
dfdfec9efa treat classes as block scoped entities 2016-04-06 15:54:50 -07:00
Ron Buckton
4da09b73bc Fixes extra parens around yield downleveled from await 2016-04-06 15:49:53 -07:00
Vladimir Matveev
f325a98f0e enable generated names for block-scoped binding in for-of 2016-04-06 15:40:17 -07:00
Vladimir Matveev
1c162fa009 fix scope tracking when converting loops 2016-04-06 14:48:26 -07:00
Daniel Rosenwasser
917928b7ee Add a newline after emitting shebangs. 2016-04-06 14:27:57 -07:00
Ron Buckton
8988ea849b Fixes indentation of object literals with computed properties 2016-04-05 18:24:02 -07:00
Ron Buckton
e3e45c5354 Fixes comment emit for down-level accessor declarations. 2016-04-05 17:42:49 -07:00
Ron Buckton
0b2264cc54 Additional fixes for React emit. 2016-04-05 16:50:19 -07:00
Ron Buckton
299c4c7351 Fixes missing whitespace in modifiers 2016-04-05 11:39:02 -07:00
Vladimir Matveev
3583e14109 Merge pull request #7832 from Microsoft/transforms-fix-unittests
update baselines in unittests, fix linter issues
2016-04-05 11:03:56 -07:00
Vladimir Matveev
86a51cbe24 update baselines in unittests, fix linter issues 2016-04-05 09:32:09 -07:00
Ron Buckton
40a38001ad Fix incorrect emit for JSX/React 2016-04-04 18:33:41 -07:00
Ron Buckton
27d0ea1904 Fixed typo when computing transform flags for exponentation 2016-04-04 17:19:41 -07:00
Ron Buckton
a69d13ba0f Fixes emit for exported namespaces in external modules. 2016-04-04 15:52:37 -07:00
Ron Buckton
7c4c0060af Fixes indentation of class expression bodies
with static initializers.
2016-04-04 13:01:12 -07:00
Ron Buckton
02d2178e31 PR Feedback 2016-04-04 11:01:35 -07:00
Ron Buckton
15780a9a4c Fixes some comment emit and other changes 2016-04-01 17:45:18 -07:00
Ron Buckton
794e0cef8c Fix parens for NewExpression 2016-03-31 13:03:06 -07:00
Ron Buckton
033864be82 PR Feedback 2016-03-31 10:16:05 -07:00
Ron Buckton
78cdb2d902 Adjusts emit for templates 2016-03-30 17:39:29 -07:00
Ron Buckton
d647f89daa Fix emit for modules and enums. 2016-03-30 11:18:29 -07:00
Ron Buckton
36257ec478 Fix issue with destructuring in for..of 2016-03-29 15:29:56 -07:00
Vladimir Matveev
3989d232b0 Merge pull request #7693 from Microsoft/transforms-block-scoped-bindings
Add support for captured block scoped bindings
2016-03-29 09:39:20 -07:00
Vladimir Matveev
5d8d3b85bd addressed PR feedback 2016-03-29 09:28:36 -07:00
Vladimir Matveev
646daac6d4 fix comment 2016-03-28 13:30:51 -07:00
Vladimir Matveev
f0523346d7 do not treat class declarations as nodes that start lexical environment 2016-03-28 12:54:37 -07:00
Vladimir Matveev
8ebe08105d fix emit for unary operators on exported variables in system modules 2016-03-27 19:52:24 -07:00
Ron Buckton
46e4c632ff Fix remaining debug failures. 2016-03-25 18:49:50 -07:00
Vladimir Matveev
564e134f5e added support for captured block scoped bindings 2016-03-25 18:32:42 -07:00
Ron Buckton
734f161cdc Changed emit for decorator metadata 2016-03-25 14:29:22 -07:00
Ron Buckton
6ba1961ce8 Fixes elision of import declarations in ES6 modules. 2016-03-24 17:48:31 -07:00
Ron Buckton
816467ceea Elides functions with invalid bodies. 2016-03-24 17:21:09 -07:00
Ron Buckton
e50469948f Fix async method with super 2016-03-24 17:03:49 -07:00
Ron Buckton
5443d309d5 Fixed multiline block for async functions 2016-03-24 16:40:07 -07:00
Ron Buckton
b60cf99c8a Fixed minor difference in string literal emit for AMD modules 2016-03-24 16:23:30 -07:00
Ron Buckton
e78b64b040 Do not always add sourceURL for browser tests 2016-03-24 14:00:46 -07:00
Ron Buckton
975e8212d8 Fixes the various TypeErrors coming from some transforms. 2016-03-24 13:32:41 -07:00