Sebastian McKenzie
95d830fde0
don't output comma separator for decorator list and output Property decorators - fixes #1811
2015-06-25 12:23:45 +01:00
Arthur Verschaeve
489f9e92b5
Add tests for util.resolve
2015-06-25 10:10:56 +02:00
Sebastian McKenzie
128d3b5c91
add missing computed loose test - ref #1820
2015-06-25 04:11:32 +01:00
Sebastian McKenzie
0b1ce6c9a4
always coerce leading computed property initialisers into the init object - fixes #1820
2015-06-25 04:10:56 +01:00
Sebastian McKenzie
4fc1bbeb60
acorn resync
2015-06-24 23:15:27 +01:00
Sebastian McKenzie
aa25903c05
parse void as an identifier when inside a type annotation to avoid setting void keyword token - cc @DmitrySoshnikov
2015-06-24 23:15:00 +01:00
Sebastian McKenzie
a096f6b1c5
fix noOptimise state being incorrect when recursing into multiple nested functions - fixes #1815
2015-06-24 13:45:14 +01:00
Sebastian McKenzie
8e1f134635
fix rest parameter array allocation loop being incorrectly aliased - fixes #1800
2015-06-22 11:54:57 +01:00
Sebastian McKenzie
58cda35831
log spread element rest parameter as a candidate instead of replacing it in place - fixes #1796
2015-06-22 00:06:03 +01:00
Sebastian McKenzie
4b0f624fb3
turn method literal keys into assignments in loose mode - fixes #1797
2015-06-21 23:59:06 +01:00
Sebastian McKenzie
13d5c94b8b
update transformation tests
2015-06-21 00:03:29 +01:00
Sebastian McKenzie
8f74e8068c
fix generation tests to reflect acorn update
2015-06-20 23:35:02 +01:00
Sebastian McKenzie
4f08a77230
resync with upstream acorn
2015-06-20 23:28:49 +01:00
Sebastian McKenzie
4ac33d62af
move spec.functionName transformer to builtin-basic - fixes #1743
2015-06-20 22:51:20 +01:00
Sebastian McKenzie
8934e7f9da
Merge branch 'master' of github.com:babel/babel
2015-06-20 22:48:00 +01:00
Sebastian McKenzie
c409f63bbe
Merge pull request #1772 from arthurvr/booleanify-tests
...
Add tests for util.booleanify
2015-06-20 22:22:08 +01:00
Sebastian McKenzie
d3c30b669f
update babel-plugin-runtime
2015-06-20 22:21:44 +01:00
Sebastian McKenzie
100317e0c8
split react displayName addition into a plugin - fixes #1761
2015-06-20 22:01:40 +01:00
Sebastian McKenzie
498297ce6b
check for invalid binding identifiers when generating inferred method names - fixes #1794
2015-06-20 21:48:42 +01:00
Ingvar Stepanyan
09b334ad21
Add guard against non-ES5 integer literals.
2015-06-17 21:11:20 +03:00
Sebastian McKenzie
d647ede94b
fix up raw number literal
2015-06-17 17:58:03 +01:00
Ingvar Stepanyan
fd4c0dae95
Generate original number representation when value was not changed.
2015-06-17 18:20:35 +03:00
Sebastian McKenzie
c7cac7aaba
add deply nested smart insertion of rest parameter allocation
2015-06-17 02:34:42 +01:00
Sebastian McKenzie
b57a80ecae
optimise rest parameters in spread element position and allocate rest array at the earliest common ancestor of all references - fixes #1768
2015-06-17 01:57:14 +01:00
Arthur Verschaeve
c7669f44c1
Add tests for util.booleanify
2015-06-16 20:18:33 +02:00
Sebastian McKenzie
fb485567b9
support module live bindings in arbitary positions not in Program statement position - fixes #1760
2015-06-16 00:41:53 +01:00
Sebastian McKenzie
91161ae9a1
Merge pull request #1758 from pygy/master
...
Add tests for IIFEs as default exports.
2015-06-15 18:36:27 +01:00
Pierre-Yves Gerardy
4c1b4b6490
Add tests for IIFEs as default exports.
2015-06-15 19:28:17 +02:00
Sebastian McKenzie
19ad22f6e8
update tests to reflect new plugin api
2015-06-15 16:36:45 +01:00
Sebastian McKenzie
8b096ac705
start movement of core into plugins
2015-06-15 15:17:04 +01:00
Sebastian McKenzie
e08d400b36
Merge pull request #1733 from hzoo/i-1732
...
remove empty strings from beginning of template - fixes #1732
2015-06-15 10:46:28 +01:00
Sebastian McKenzie
b9d066d953
add special case for null in get helper
2015-06-15 00:15:22 +01:00
Sebastian McKenzie
eba9f0ffbd
clean up default constructor in derived classes - fixes #1748
2015-06-14 23:44:21 +01:00
Henry Zhu
98424f80af
template-literals: remove unnecessary strings, only add "" to beginning if second node isn't a string - fixes #1732
2015-06-13 14:34:33 -04:00
Sebastian McKenzie
b761cba135
split auxiliary comment option into before and after - fixes #1721
2015-06-10 01:34:44 +01:00
Chad Hietala
8a320d53a5
Metadata object does not take in account resolveModuleSource()
...
This adds a failing test to illustrate the metadata object not reflecting what is returned from resolveModuleSource(). I might also not understand resolveModuleSource's purpose. However, this was the hook mentioned here https://github.com/babel/babel/issues/1602 .
2015-06-09 14:26:33 -07:00
Sebastian McKenzie
024ae670cb
fix traceur test blacklist
2015-06-09 03:48:22 +01:00
Sebastian McKenzie
429edda9c0
ignore StringIterator traceur test
2015-06-09 03:40:08 +01:00
Sebastian McKenzie
bb36dbd8d9
update to latest traceur and enable now passing tests
2015-06-09 03:20:02 +01:00
Sebastian McKenzie
c4a491123e
disallow line terminator after async contextual keyword - fixes #1711
2015-06-08 21:25:16 +01:00
Sebastian McKenzie
4596ae48b8
remove acorn jsx tests as the jsx parser is no longer embedded
2015-06-07 23:57:11 +01:00
Sebastian McKenzie
e804741632
add module metadata - closes #1601
2015-06-07 19:41:20 +01:00
Sebastian McKenzie
795cf0c0b1
add ignore/only tests to ensure #1693 never happens again
2015-06-05 23:11:10 +01:00
Sebastian McKenzie
4b85b05839
use actual parameter reference for non-last default parameters - fixes #1690
2015-06-05 14:08:18 +01:00
Sebastian McKenzie
b0e58f9770
add completion statement test and enable experimental option on deadCodeElimination tests
2015-06-05 12:17:36 +01:00
Sebastian McKenzie
55750e05e7
Revert "enable es6.spec.symbols by default"
...
This reverts commit f3acedbf08565a7b0b3796f6ef6fb95150359602.
2015-06-05 09:44:22 +01:00
Sebastian McKenzie
25581981b5
always remove ClassProperty nodes in flow transformer - fixes #1686
2015-06-05 09:42:46 +01:00
Sebastian McKenzie
02a6feed73
update template literal parsing to properly handle newlines
2015-06-05 09:36:37 +01:00
Sebastian McKenzie
f3acedbf08
enable es6.spec.symbols by default
2015-06-05 08:43:41 +01:00
Sebastian McKenzie
d5e7b5616c
Merge branch 'master' of github.com:babel/babel
2015-06-04 22:23:42 +01:00