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
Sebastian McKenzie
d4917d74f0
Merge pull request #2035 from frankychung/flow-number-literal-type-annotations
...
Number literal type annotations for Flow
2015-07-20 11:41: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
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
faa6ce1a08
Merge pull request #2030 from arthurvr/patch-2
...
Add `make test-cov` to `contributing.md`
2015-07-18 04:46:23 -07:00
Arthur Verschaeve
98a4d54212
Add make test-cov to contributing.md
...
Ref #1851
2015-07-18 10:59:20 +02: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
641ee9d883
add 5.7.3 changelog
2015-07-17 00:57:03 +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
c76536be90
fix test coverage
2015-07-16 15:46:31 +01:00
Sebastian McKenzie
e1c981a9de
fix tags not being pushed for new babel versions - fixes #2019
2015-07-16 15:46:13 +01:00
Sebastian McKenzie
fd9373d9ee
add 5.7.2 changelog
2015-07-15 20:38:19 +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
1f851153fd
add 5.7.1 changelog
2015-07-15 17:10:47 +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
848fab910c
Merge pull request #2004 from jmm/contrib
...
Update CONTRIBUTING.
2015-07-15 16:18:23 +01:00
Jesse McCarthy
0a4a0d8cd2
Update CONTRIBUTING.
...
* Add note about unbuildable versions.
* Remove links to removed sections.
2015-07-15 11:08:34 -04:00
Sebastian McKenzie
472b079862
remove ecmaVersion <= 6
2015-07-15 15:34:47 +01:00
Sebastian McKenzie
21a11e5d2b
hard code eslint path
2015-07-15 14:13:36 +01:00
Sebastian McKenzie
124e30face
complete builder definitions - fixes #1982
2015-07-15 14:07:16 +01:00
Sebastian McKenzie
91e59cf2bb
add TEST_GREP to scripts/test
2015-07-15 13:52:12 +01:00
Sebastian McKenzie
8d70ab5853
switch node definitions to a DSL
2015-07-15 13:51:47 +01:00
Sebastian McKenzie
a36496ee2d
update CONTRIBUTING.md
2015-07-15 13:51:24 +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
e1eb79d570
add 5.7.0 changelog
2015-07-15 12:10:27 +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
5b776b60e4
require shelljs from bootstrap file
2015-07-15 11:45:05 +01:00
Sebastian McKenzie
644daaed55
add git pull to build-website script
2015-07-15 11:44:57 +01:00
Sebastian McKenzie
9d514a3aa2
add postpublish support to scripts/publish
2015-07-15 11:44:43 +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
64875f3502
move down build-dist task in publish task
2015-07-14 21:34:18 +01:00
Sebastian McKenzie
0a9f43aac8
fix templates location
2015-07-14 21:33:29 +01:00