Sebastian McKenzie
ef5d8bb786
add a shitty onToken acorn option shim
2015-07-21 02:30:01 +01:00
Sebastian McKenzie
956fd8d770
Merge branch 'master' into development
2015-07-21 02:28:00 +01:00
Sebastian McKenzie
5507590dc2
fix unicode literal conversion check
2015-07-21 02:20:49 +01:00
Sebastian McKenzie
b6007ce4ea
remove comments form test
2015-07-21 02:16:03 +01:00
Sebastian McKenzie
0a5a00d6f8
properly disallow type casts in reference lists
2015-07-21 02:01:48 +01:00
Sebastian McKenzie
495b880372
only register an Identifier node as static if it's a constant
2015-07-21 01:14:38 +01:00
Sebastian McKenzie
b97dc4778b
add Flow virtual type
2015-07-21 01:14:19 +01:00
Sebastian McKenzie
512707c7de
update API test to use an async promise shim
2015-07-21 01:14:00 +01:00
Sebastian McKenzie
00fa5f2286
switch es6 parameters rest nested iife test to use external helpers
2015-07-21 01:13:48 +01:00
Sebastian McKenzie
40f19586af
reimplement async function type parameters backfix - fixes #2028
2015-07-21 01:13:35 +01:00
Sebastian McKenzie
f0994f106e
add comment attachment to the parser and remove dead acorn options
2015-07-21 01:13:07 +01:00
Jesse McCarthy
029146719e
Add basic desc. & existence test for pretransform.
2015-07-20 13:38:21 -04:00
Sebastian McKenzie
47f790502e
Merge pull request #1878 from kpdecker/tagged-template-object
...
Convert template objects to singletons
2015-07-20 12:18:07 +01:00
kpdecker
4eb1a45f02
Handle _blockHoist value of zero safely
2015-07-20 11:06:09 +03:00
Franky Chung
0876209847
Add number literal type annotations for flow
2015-07-20 11:35:46 +09:00
Sebastian McKenzie
a523f60209
output type annotations of type instantiation parameters - fixes #2036
2015-07-20 00:20:40 +01:00
kpdecker
b2e3a73e2f
Use generic name for templateObject
...
Rather than using variable names that could be quite long, just use indexed generic names that use runtime lookup for the string parameter mapping.
2015-07-19 10:39:38 +03:00
kpdecker
eed750206c
Convert template objects to singletons
...
Create file-scoped template objects that are instantiated once and reused between different tagged template evaluations. This is a closer match to the spec behavior which demands reuse, but does not match the spec exactly with respect to scoping as it’s possible to have similar template objects defined in different file scopes within the same program. For now we are not able to cleanly handle this case as it would require a registry or similar lookup mechanism that is consistent across different combinations of builds and optimizers.
This has a 40x increase in six-speed throughput.
Partial fix for #971
2015-07-19 09:49:40 +03:00
Sebastian McKenzie
3a74f6d4cc
don't return from within parseSubscripts when we parse an async arrow function - fixes #2027
2015-07-17 23:31:46 -07:00
Sebastian McKenzie
a7ad765438
remove weird promise compat method - fixes #2024
2015-07-17 11:09:20 +01:00
Sebastian McKenzie
44c82abf3a
v5.7.4
2015-07-17 01:02:33 +01:00
Sebastian McKenzie
13e0c6b917
remove useless call from flow strip directives test
2015-07-17 01:01:22 +01:00
Sebastian McKenzie
4833dad4e2
fix comments containg @flow being completely removed from output rather than just the specific directive - fixes #2022
2015-07-17 00:58:08 +01:00
Sebastian McKenzie
32ad452b78
v5.7.3
2015-07-16 22:45:06 +01:00
Sebastian McKenzie
185fc3b10e
add in dummy src file because i'm dumb and decided to do access private apis - closes #2020 , fixes #2011
2015-07-16 22:43:43 +01:00
Sebastian McKenzie
676d602a8b
v5.7.2
2015-07-15 20:35:57 +01:00
Sebastian McKenzie
d2ce03e82d
flow parser plugin: move up startPos and startLoc default assignments
2015-07-15 20:33:56 +01:00
Sebastian McKenzie
d661e15ce2
force push newline for line comments when in compact mode - fixes #2006
2015-07-15 20:23:24 +01:00
Sebastian McKenzie
1abaf66ac2
generator: set adjustMultilineComment to false when compact is true - fixes #2008
2015-07-15 20:18:27 +01:00
Sebastian McKenzie
afacd62738
rewrite async function parsing, properly parse flow return types of arrow functions - fixes #1991
2015-07-15 20:08:10 +01:00
Sebastian McKenzie
4b276b938b
add feature flag for es7.exponentiationOperator
2015-07-15 18:07:25 +01:00
Sebastian McKenzie
b520a33195
remove dead babylon code
2015-07-15 18:07:13 +01:00
Sebastian McKenzie
dbf320f6f0
Merge branch 'master' into development
2015-07-15 17:10:58 +01:00
Sebastian McKenzie
805a44d55d
v5.7.1
2015-07-15 17:09:26 +01:00
Sebastian McKenzie
a051146ae2
add back NodePath#replaceWithSourceString method - fixes pangratz/ember-cli-htmlbars-inline-precompile/issues/18
2015-07-15 17:08:21 +01:00
Sebastian McKenzie
3acae3d625
finish removal of ecmaVersion option
2015-07-15 16:41:32 +01:00
Sebastian McKenzie
472b079862
remove ecmaVersion <= 6
2015-07-15 15:34:47 +01:00
Sebastian McKenzie
124e30face
complete builder definitions - fixes #1982
2015-07-15 14:07:16 +01:00
Sebastian McKenzie
8d70ab5853
switch node definitions to a DSL
2015-07-15 13:51:47 +01:00
Sebastian McKenzie
4656801673
add check for options existence before trying to look for deprecation supression property - fixes #1992
2015-07-15 12:15:15 +01:00
Sebastian McKenzie
aef2be54dc
v5.7.0
2015-07-15 11:53:46 +01:00
Sebastian McKenzie
9e81dd299d
add postpublish script
2015-07-15 11:45:11 +01:00
Sebastian McKenzie
afbd9a0870
fix babel-runtime dist require locations
2015-07-15 11:44:27 +01:00
Sebastian McKenzie
61d246cb9a
v5.6.23
2015-07-15 11:23:07 +01:00
Sebastian McKenzie
e677e49638
really fix spread inside the RHS of a destructuring assignment causing invalid unpack optimisation
2015-07-14 22:18:30 +01:00
Sebastian McKenzie
7fb3158be7
deopt on spread elements when performing array destructuring unpack optimisation
2015-07-14 22:08:26 +01:00
Sebastian McKenzie
45e1eb343b
fix locations in build-dist babel-runtime script
2015-07-14 21:35:59 +01:00
Sebastian McKenzie
0a9f43aac8
fix templates location
2015-07-14 21:33:29 +01:00
Sebastian McKenzie
6e518d40bf
fix babel-core dependency in babel-cli
2015-07-14 21:15:06 +01:00
Sebastian McKenzie
bfe92a4eea
add comments: false to generation test
2015-07-14 21:10:35 +01:00