6222 Commits

Author SHA1 Message Date
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
Sebastian McKenzie
538d24b2a3 Merge pull request #2040 from jmm/basic-pretransform-doc-test
Add basic description & existence test for `pretransform()`.
2015-07-20 19:03:10 +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
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
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
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
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
6e539eb7e3 fix order of build-dist to include the latest version number 2015-07-17 01:04:13 +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
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