Sebastian McKenzie
12f8fa229d
remove redundant spec.functionName tests
2015-03-30 21:49:58 +11:00
Sebastian McKenzie
c6546264d2
split up spec.functionName tests
2015-03-30 21:46:08 +11:00
Sebastian McKenzie
9ea999b261
clean up class property initializers, handle scope collisions in constructors
2015-03-30 20:32:14 +11:00
Sebastian McKenzie
f81e841283
don't block hoist in system module formatter when runtime transformer is enabled - #1105
2015-03-30 18:24:44 +11:00
Sebastian McKenzie
b9f4fe86f1
merge
2015-03-30 18:16:28 +11:00
Sebastian McKenzie
c4d68897b3
rename own binding inside constructor if it collides with our class reference - fixes #1077
2015-03-30 18:06:59 +11:00
Sebastian McKenzie
1641caedc4
retain binding values on iteration if reassigned - fixes #1078
2015-03-30 18:02:21 +11:00
Sebastian McKenzie
5fa227eb73
fix module names for amd/umd tests
2015-03-30 16:53:06 +11:00
Sebastian McKenzie
f3b50f0bb9
rename es6.blockScopingTDZ to es6.spec.blockScoping
2015-03-30 16:52:58 +11:00
Sebastian McKenzie
92bba76bd5
fix test fixture transformer folder names
2015-03-30 16:44:55 +11:00
Sebastian McKenzie
bc155f956c
add es6.spec.templateLiterals transformer and rename es6.symbols to es6.spec.symbols
2015-03-30 16:41:13 +11:00
Sebastian McKenzie
99e274921f
remove experimental option in favor of a stage option
2015-03-30 07:30:37 +11:00
Sebastian McKenzie
46d991e3e9
add nonStandard option - @stefanpenner
2015-03-30 06:41:55 +11:00
Sebastian McKenzie
8e1b6df970
properly handle export default shorthand, also consider export default foo; and export { foo as default } to be equivalent
2015-03-30 06:31:41 +11:00
Sebastian McKenzie
f9c8d7d1fd
fix incorrect interpreation of export default shorthand, update to new ast definitions - #1091
2015-03-30 06:08:37 +11:00
Sebastian McKenzie
eb2f61e43f
add class property initializer and decorator parser tests
2015-03-30 03:52:39 +11:00
Sebastian McKenzie
afe8792ba4
fix names for export declaration generation tests
2015-03-30 03:38:24 +11:00
Sebastian McKenzie
42a2430d2c
add support for export extensions https://github.com/leebyron/ecmascript-more-export-from - closes #1091
2015-03-30 03:38:14 +11:00
Sebastian McKenzie
c4d260231b
fix optimisation.react.constantElements test fixture names
2015-03-30 01:22:59 +11:00
Sebastian McKenzie
ca5daca5dd
add optimisation.react.constantElements transformer - facebook/react#3228
2015-03-30 01:22:45 +11:00
Sebastian McKenzie
52c6fe2bc1
add a path hoisting mechanism that will hoist a node to it's highest compatible scope, a compatible scope is considered to be one where all references inside can be resolved to, also adds an optimisation.react.constantElements transformer that uses this to much success facebook/react#3226
2015-03-30 00:16:19 +11:00
Sebastian McKenzie
e27e7facac
add decorator tests
2015-03-29 19:30:41 +11:00
Sebastian McKenzie
94f005e324
clean up flow object type property semicolons
2015-03-29 17:14:46 +11:00
Sebastian McKenzie
e4db93f6a5
fix flow test range end of object property nodes
2015-03-29 17:05:14 +11:00
ArrestedDevelopment
121b9ca063
Add tests for JSX Pragma option
2015-03-28 02:20:01 -06:00
Sebastian McKenzie
ad98186afc
remove redundant semicolons from export declarations
2015-03-28 05:38:22 +11:00
Sebastian McKenzie
df251fbfff
fix test paths to reflect new test directory structure
2015-03-28 05:38:12 +11:00
Sebastian McKenzie
dfbcf95b0e
disable sourcemap stdin tests
2015-03-28 05:37:55 +11:00
Sebastian McKenzie
07646475d9
fix spread binding with the wrong context
2015-03-28 05:37:38 +11:00
Sebastian McKenzie
803f8a3bbc
fix paths in api test
2015-03-28 04:38:26 +11:00
Sebastian McKenzie
ee6efee4f8
disable es6 do expressions and decorators tests
2015-03-28 04:37:30 +11:00
Sebastian McKenzie
954af72476
update various tests to reflect the new architecture
2015-03-28 04:00:20 +11:00
Sebastian McKenzie
b83907cc67
restructure testing infrastructure to be more modular
2015-03-28 01:21:48 +11:00
Sebastian McKenzie
a3620a58f8
add externalHelpers to source maps tests
2015-03-28 00:26:11 +11:00
Sebastian McKenzie
c49871d33c
stylistic changes to tests
2015-03-28 00:25:45 +11:00
Sebastian McKenzie
5390715705
update tests to latest experimental changes
2015-03-25 20:20:51 +11:00
Sebastian McKenzie
aa1333123c
Merge branch 'master' into experimental
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-03-25 14:17:46 +11:00
Brian Donovan
ed6421876a
Clear bindings immediately inside the TCO loop.
...
We have to ensure that this happens before any potentially-hoisted
declarations from default parameters.
Closes #1080 .
2015-03-24 20:15:54 -07:00
Sebastian McKenzie
de88b28988
add class property initializers, add more TraversalPath flexibility with additional node injection method
2015-03-24 03:34:34 +11:00
Sebastian McKenzie
3c8f3cb521
update couple tests to reflect new statement explosion
2015-03-22 04:08:55 +11:00
Sebastian McKenzie
a4ce653bed
update tests to reflect fixed destructuring behaviour and statement to expression explosion
2015-03-21 15:27:13 +11:00
Sebastian McKenzie
a602873281
update to latest acorn, better array shortcuts, don't add code frame to error message
2015-03-20 20:05:29 +11:00
Sebastian McKenzie
c8b88182f6
fix bin tests
2015-03-20 20:03:49 +11:00
Sebastian McKenzie
64f1c114c1
fix modules generation logic and remove dead node types
2015-03-19 03:17:28 +11:00
Sebastian McKenzie
4ac1a856ae
fix remaining issues in estree port
2015-03-19 02:59:44 +11:00
Sebastian McKenzie
fdea18a289
properly support iterators in sliced-to-array helper...
2015-03-19 01:47:19 +11:00
Sebastian McKenzie
c3bdecbd25
move arrow functions transformer to before function names
2015-03-19 01:46:53 +11:00
Sebastian McKenzie
660d764390
remove loop check when aliasing breaks, continues etc - fixes #1051
2015-03-18 23:31:11 +11:00
Sebastian McKenzie
6a1b33b443
more updates to estree and new acorn
2015-03-18 19:02:15 +11:00
Sebastian McKenzie
2ff1a5d98b
Merge branch 'master' into experimental
...
# Conflicts:
# src/babel/transformation/transformers/internal/strict.js
2015-03-17 12:14:32 +11:00