Amjad Masad
4c2ae5dd19
Parenthesize statement argument when on a different line
2015-04-30 05:43:08 -07:00
Amjad Masad
a540cbe801
Failing test with return not on the same line as it's expression
...
Note that this is not a parenthesis issue but this was the easiest way
to reproduce it. I ran into it when testing generators with `retainLines`
and the generated `return` statement (replacing yeild) was printed on
the line preceding the expression being yielded.
2015-04-30 05:06:56 -07:00
Amjad Masad
34cc577fa2
Add failing test for printing block line comments with retainLines option
2015-04-30 04:37:45 -07:00
Sebastian McKenzie
c855b55133
add additional comment test to comment statement with retainlines option generation test
2015-04-29 23:58:36 +01:00
Christopher Monsanto
f44c93add2
fix reference check for shorthand properties
2015-04-29 17:56:36 -04:00
Amjad Masad
1a42b72b15
Add failing test for printing comments with retainLines option
2015-04-29 14:40:23 -07:00
Sebastian McKenzie
d30415d74a
update es6.spec.symbols instanceof test to reflect Function.prototype[@@hasInstance] being nonwritable #1364
2015-04-29 21:20:35 +01:00
Sebastian McKenzie
616ef8d840
make jscript transformer more trigger happy - #1382
2015-04-29 12:03:15 +01:00
Pusztai Tibor
881fa6430b
add optional jscript transformer for basic IE8 compatibility ( fixes #1369 )
2015-04-29 12:36:12 +02:00
Sebastian McKenzie
374b7cca2c
update interop-require-wildcard helper
2015-04-28 15:58:37 +01:00
Sebastian McKenzie
2952d94e60
wrap instanceof to support @@hasInstance - fixes #1364
2015-04-28 14:27:30 +01:00
Sebastian McKenzie
f4611469b4
remove declarations transformer and instead do it whenever we push a generated declaration, better for perf and removes shitty bugs - fixes #1268
2015-04-26 15:46:06 +01:00
Sebastian McKenzie
f72782b71c
remove transformer prepass and various other optimisations
2015-04-26 05:26:21 +01:00
Sebastian McKenzie
0f1f5e3565
implement path-specific transformer skipping via the starting prepass
2015-04-26 02:42:15 +01:00
Sebastian McKenzie
deed48a3db
fix decorator interop - fixes #1277
2015-04-25 18:18:30 +01:00
Sebastian McKenzie
00c0a958db
fix runtime tests to reflect core-js 0.9.0
2015-04-25 18:08:00 +01:00
Sebastian McKenzie
fd30eb1839
Merge branch 'master' of github.com:babel/babel
2015-04-24 19:28:58 +01:00
Sebastian McKenzie
63344eb0a4
only skip traversal of immutable JSX elements in the optimisation.react.constantElements transformer when we've actually hoisted them - closes #1344
2015-04-24 19:28:51 +01:00
Sebastian McKenzie
cdca4e50d9
Merge pull request #1333 from isojs/fix-rimraf-tmp
...
Fix test temporary dir cleanup
2015-04-24 11:31:09 +01:00
Sebastian McKenzie
a36c1b4a92
rewrite this in shadowed functions inside native derived class constructors - fixes #1340
2015-04-24 11:20:29 +01:00
George Stagas
b760daca21
fix test tmp dir cleanup
2015-04-23 21:27:14 +03:00
Sebastian McKenzie
74f04ed6a1
clean up interop require
2015-04-22 00:14:55 +01:00
Sebastian McKenzie
74d880bf18
Merge pull request #1317 from jeffmo/copy_static_props_on_foreign_export_objs
...
Copy statics from foreign exports objects when doing an ES6 import
2015-04-21 22:44:52 +01:00
jeffmo
5ce38cacaa
Copy statics off of foreign exports objects when doing an ES6 import
2015-04-21 12:17:43 -04:00
Sebastian McKenzie
f6278e43ce
properly handle shorthand JSX attributes in optimisation.react.inlineElements transformer - fixes #1309
2015-04-21 16:14:36 +01:00
Sebastian McKenzie
9360860601
memoise and bind member expression decorators - fixes #1296
2015-04-20 06:16:20 +01:00
Sebastian McKenzie
7d4ecea8fb
move react children coercion to opening element visitor - fixes #1276
2015-04-20 05:49:59 +01:00
Sebastian McKenzie
6b1c5bc358
remove interop require on bluebird - fixes #1289
2015-04-20 00:22:41 +01:00
Sebastian McKenzie
c9518bb60d
consider switches to be a valid scope - fixes #1297
2015-04-19 21:45:43 +01:00
Sebastian McKenzie
1818094577
validate this before super on exit, not enter - fixes #1284
2015-04-16 22:04:18 -07:00
Sebastian McKenzie
b76e6f8e5b
disable ludicrous tests
2015-04-15 15:23:14 -07:00
Sebastian McKenzie
9e21074e88
remove regenerator tests
2015-04-15 15:05:30 -07:00
Sebastian McKenzie
fcb78436c6
move es6.proxies to ludicrous
2015-04-15 14:59:37 -07:00
Sebastian McKenzie
bb30a64f8d
add extra transform option
2015-04-15 14:59:26 -07:00
Sebastian McKenzie
b483c16fe2
Merge branch 'proxies'
...
# Conflicts:
# src/babel/transformation/file/index.js
2015-04-15 13:32:28 -07:00
Sebastian McKenzie
47d253c732
set passModuleArg when handling default export specifiers in amd module formatter - fixes #1260
2015-04-14 07:39:34 -07:00
Jay Phelps
6ca565d7fb
class properties with an undefined value are now correctly writable
2015-04-13 20:53:05 -07:00
Sebastian McKenzie
64f5480f96
fix pattern LHS error messages
2015-04-13 16:45:30 -07:00
Sebastian McKenzie
828fdc8769
make illegal LHS pattern error messages more user friendly
2015-04-13 16:40:13 -07:00
Sebastian McKenzie
6763c4415e
make parenthesized array patterns illegal - cc @michaelficarra
2015-04-13 16:16:57 -07:00
Sebastian McKenzie
087c714098
simplify runtime transformer traversal and add a catch-all - fixes #1248
2015-04-13 09:20:28 -07:00
Sebastian McKenzie
5f8667eaa7
make parsing of decorators stateless - fixes shuhei/babel-angular2-app#4
2015-04-13 08:26:51 -07:00
Sebastian McKenzie
8df1d81ca4
fix iterable runtime name
2015-04-13 00:51:50 -07:00
Sebastian McKenzie
1583262807
add missing runtime symbol definitions - fixes #1242
2015-04-13 00:12:59 -07:00
Sebastian McKenzie
bb70f37123
Merge branch 'master' of github.com:babel/babel
2015-04-12 20:59:26 -07:00
Sebastian McKenzie
8a0317132e
deopt array unpack optimisation on member expressions - fixes #1241
2015-04-12 20:59:17 -07:00
Sebastian McKenzie
f598c70841
Merge pull request #1215 from AluisioASG/es7-trailing-function-commas
...
ES7 trailing function commas
2015-04-12 19:17:02 -07:00
Sebastian McKenzie
61b57ea055
rejigger decorator alias
2015-04-12 19:10:22 -07:00
Sebastian McKenzie
27b6f804ce
clean up class decorators #1185
2015-04-12 19:06:59 -07:00
Sebastian McKenzie
7e1a4be085
add use strict header to decorators test
2015-04-12 09:09:26 -07:00