Sebastian McKenzie
d6a5c39079
update classes to reflect new transformer precedence
2015-05-08 22:52:19 +01:00
Sebastian McKenzie
4a439d8c8e
update flow strip type annotations test
2015-05-08 15:52:08 +01:00
Sebastian McKenzie
8f52229a86
add get function name to source map classes test
2015-05-08 15:25:50 +01:00
Sebastian McKenzie
b31c14c52a
Merge branch 'master' into single-pass
2015-05-08 00:24:33 +01:00
Sebastian McKenzie
8daf95bf59
name additional methods that are now covered since the naming is done in tandem
2015-05-08 00:22:43 +01:00
Sebastian McKenzie
a5cda5caa7
hoist param declaration when performing tco - fixes #1478
2015-05-07 23:14:03 +01:00
Sebastian McKenzie
c3a08d413f
attach auxiliary comment to function declaration helpers - fixes #1476
2015-05-07 20:11:31 +01:00
Sebastian McKenzie
a1bc0704ab
attach auxiliary comment to function declaration helpers - fixes #1476
2015-05-07 20:11:02 +01:00
Sebastian McKenzie
6f664ca64e
merge internal transformers into single traversal pass
2015-05-07 15:53:22 +01:00
Sebastian McKenzie
bf0e4ede00
pass correct function scope to nameMethod.property when naming class methods - fixes #1456
2015-05-06 16:03:15 +01:00
Christopher Monsanto
6a82eb5a5c
disallow async constructors -- fixes #1454
2015-05-06 02:50:11 -04:00
Sebastian McKenzie
f4b9faa6b3
clean up module declaration based UID generation - fixes #1437
2015-05-04 22:36:18 +01:00
Sebastian McKenzie
c1a6ff7f44
rename getModuleName option to getModuleId
2015-05-04 22:31:34 +01:00
Sebastian McKenzie
2c0c2f12df
avoid trying to replace a node with itself, antipattern!
2015-05-04 22:20:52 +01:00
Jay Phelps
340e75eb59
Added getModuleName() option as a function, allowing you to manipulate the name as needed
2015-05-04 13:30:57 -07:00
Sebastian McKenzie
53808a6d45
fix test/core/path imports
2015-05-04 15:25:35 +01:00
Sebastian McKenzie
9e0cf84505
adds test for #1431
2015-05-04 15:06:27 +01:00
Sebastian McKenzie
b8b70f2f4a
rejigger around parse mechanics
2015-05-04 03:57:28 +01:00
Sebastian McKenzie
3878bd812c
remove native super inheritance from classes - fixes #1424
2015-05-03 23:45:26 +01:00
Sebastian McKenzie
102cbbe493
fix up crazy parse argument order
2015-05-03 23:31:37 +01:00
Sebastian McKenzie
4be27ee72c
update bin tests to reflect new helper format
2015-05-03 17:47:31 +01:00
Sebastian McKenzie
ce8beec22c
update tests to reflect new helper format
2015-05-03 17:28:32 +01:00
Sebastian McKenzie
90a1c81d30
split up es3.xLiterals transformers - fixes #1415
2015-05-01 23:13:30 +01:00
Sebastian McKenzie
c28415c38a
handle shorthand objects properly when renaming bindings, create new ones and refresh the stored binding identifier if necessary - fixes #1406
2015-05-01 15:23:46 +01:00
Sebastian McKenzie
e9bcccffbd
futz the bundler idea
2015-05-01 03:26:12 +01:00
Sebastian McKenzie
aaf4cbf06f
start on babel module bundling and type inferrence
2015-05-01 02:59:59 +01:00
Sebastian McKenzie
d9169a87ad
allow util.arrayify to take arbitrary types and coerce it into an array - #1398
2015-05-01 00:41:47 +01:00
Sebastian McKenzie
d26e7ad577
fix no RHS in class properties causing undefined to be used instead of a noop - fixes #1396
2015-04-30 23:09:17 +01:00
Sebastian McKenzie
c12e8122f8
fix browser tests
2015-04-30 20:11:32 +01:00
Sebastian McKenzie
92e7a01d14
remove regenerator and test262 git submodule and tests - closes #1393
2015-04-30 20:03:34 +01:00
Sebastian McKenzie
ee0c88a070
clean up plugin manager constructor and add some basic plugin manager tests
2015-04-30 18:06:15 +01:00
Sebastian McKenzie
1066a42fb2
fix weird path context state by clearing the context before we visit it
2015-04-30 17:19:27 +01:00
Sebastian McKenzie
0dc6b582a6
Merge pull request #1385 from monsanto/fix-var-checker
...
fix reference check for shorthand properties
2015-04-30 16:43:36 +01:00
Sebastian McKenzie
d8d70ba137
Merge pull request #1388 from amasad/master
...
Add failing test for printing block line comments with retainLines option
2015-04-30 16:42:55 +01:00
Sebastian McKenzie
f23c916520
make function name inferrence smarter - fixes #1367
2015-04-30 16:41:25 +01:00
Sebastian McKenzie
471d60e5cd
Merge branch 'master' of github.com:babel/babel
2015-04-30 13:53:58 +01:00
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