Sam Goldman
137abcaf7a
Add support for mixins to Babel 6.x
2015-12-23 16:09:12 -05:00
Sam Goldman
f0fd729883
Add support for this type to Babel 6.x
2015-12-23 13:54:57 -05:00
Amjad Masad
1d82e48d36
Merge pull request #3190 from hzoo/remove-await-star
...
Remove await* from babel-generator, add parsing error to babylon - (fixes T6688)
2015-12-22 22:57:23 -08:00
Henry Zhu
c7bdf7fc63
remove all property, fixup tests
2015-12-23 00:02:02 -05:00
Henry Zhu
7bac3627fe
Remove await* from babel-generator, add parsing error to babylon - (fixes T6688)
2015-12-19 23:15:09 -05:00
TSUYUSATO Kitsune
8d8f75a5b8
Fix ignoring previous strict mode after twice "use strict"
...
For example:
var foo = function () {
"use strict";
"use strict";
// there is inside of strict mode,
// so `0123` (octal number) occurs a syntax error.
};
// there is outside of strict mode,
0123; // so left is valid syntax.
// however:
// SyntaxError: Invalid number (8:0)
I fixed it and add the test case.
2015-12-19 09:26:10 +09:00
Sebastian McKenzie
694ad8eb8a
Merge pull request #3107 from MakeNowJust/fix/t6675-2
...
Fixed T6675
2015-12-12 01:30:05 +11:00
Amjad Masad
8716fb6f3f
Test name, and remove todos
2015-12-04 00:12:37 -08:00
Amjad Masad
e3da84bcc3
Add support for null literal type
2015-12-03 23:58:25 -08:00
TSUYUSATO Kitsune
dc596d73d3
Fixed T6675
...
https://phabricator.babeljs.io/T6675 .
2015-11-24 22:39:50 +09:00
Aliaksei Shytkin
5e987cd46e
Make arrow functions to work with multiple args and flow return type (fixes T2422)
2015-11-23 15:20:16 +03:00
Sebastian McKenzie
d79d0cf73d
add function.sent
2015-11-17 23:02:21 -08:00
Sebastian McKenzie
dfd9316e27
abstract out test runner into a module, move traceur and esnext tests to babel-preset-es2015, clean up and make existing tests more consistent
2015-11-08 21:58:01 -08:00
Sebastian McKenzie
779675610f
fix defaults on type annotated arrow function params - fixes #2493
2015-11-05 09:49:03 +00:00
Sebastian McKenzie
2b6f78df83
fix existential type param parsing
2015-11-03 20:04:55 +00:00
Sebastian McKenzie
4016bae694
add ExistentialTypeParam - fixes #2587
2015-11-03 13:48:03 +00:00
Sebastian McKenzie
14ca4d1dc9
add lineBreak test to tt.name.updateContext - fixes #2591
2015-11-03 11:46:01 +00:00
Sebastian McKenzie
3b3c1897d0
add support for async generator concise methods - fixes #2603
2015-11-03 11:19:04 +00:00
Sebastian McKenzie
cbe94f4653
fix object rest/spread in arrow function params - fixes #2631
2015-11-03 11:14:12 +00:00
Sebastian McKenzie
ea40d0134f
rename NumberLiteral to NumericLiteral and RegexLiteral to RegExpLiteral
2015-11-03 01:19:35 +00:00
Sebastian McKenzie
c2973d0c7a
disallow invalid async function forms inside object literals - fixes #2629
2015-11-02 08:00:01 +00:00
Sebastian McKenzie
3d842df554
update exponentiation operator precedence - fixes #2431
2015-10-30 23:14:10 +00:00
Sebastian McKenzie
c224a7a370
fix parser bug where arrow functions have a higher precedence than they should - fixes #2118
2015-10-30 22:50:53 +00:00
Sebastian McKenzie
b909a81ab7
6.0.0
...
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00
Sebastian McKenzie
d0b584fd13
add filename to babylon test errors
2015-10-05 16:40:55 +01:00
Sebastian McKenzie
9908dc6f50
update babylon tests
2015-10-05 16:40:43 +01:00
Sebastian McKenzie
ae85fc0251
rename features in babylon tests
2015-09-15 06:13:11 +01:00
Sebastian McKenzie
446b297465
unoverload Literal AST node
2015-09-01 04:49:16 +01:00
Sebastian McKenzie
d97240ae09
Merge remote-tracking branch 'origin/master' into development
...
Conflicts:
packages/babel/scripts/build-dist.sh
2015-08-27 11:12:00 -07:00
Cesar Andreu
60f4003345
Add failing flow ObjectTypeProperty test
2015-08-26 06:51:12 -04:00
Sebastian McKenzie
860322f7b8
add more jsx tests
2015-08-12 02:57:18 +01:00
Sebastian McKenzie
8887444cf7
fix various bugs surfaced by the esprima test suite, remove some incorrect tests
2015-08-11 16:58:20 +01:00
Sebastian McKenzie
b7b43dc282
Merge branch 'master' into development
2015-08-11 01:05:04 +01:00
Sebastian McKenzie
df021c7f23
add esprima tests and fix bugs picked up by it
2015-08-11 00:59:15 +01:00
Henry Zhu
babf64473b
fix broken test from regex-after-block
2015-08-10 19:31:26 -04:00
Henry Zhu
8f3615bf7b
fix unexpected token issue for regex after block case
...
- Ex: `if (1) {} /foo/`
Fixes babel/babel-eslint#161
Ref marijnh/acorn#289
2015-08-10 19:03:13 -04:00
Sebastian McKenzie
b581a7590c
fix export default function expression disambiguation - fixes #2189
2015-08-10 13:04:08 +01:00
Sebastian McKenzie
4fda34ce6f
properly distinguish shorthand async keys that are the last property - fixes #2176
2015-08-06 19:33:48 +01:00
Sebastian McKenzie
5ec9f78493
fix patterns with async keys - fixes #2171
2015-08-05 23:22:31 +01:00
Sebastian McKenzie
79c62ded0a
remove operator property from AssignmentPattern
2015-08-05 21:45:11 +01:00
Sebastian McKenzie
71bbffa797
fix handling of flow method shorthand - fixes #2169
2015-08-05 21:42:15 +01:00
Sebastian McKenzie
94e345e0b2
check valid function/class token when parsing export default before converting to a declaration - fixes #2145
2015-08-02 21:36:52 +01:00
Sebastian McKenzie
a0f9d5fbc8
add support for export types
2015-07-31 23:34:45 +01:00
Sebastian McKenzie
b1c3ed6d2d
fix linting error and add missing tests
2015-07-30 23:47:59 +01:00
Sebastian McKenzie
1d81dd995c
add support for boolean flow literals - fixes #2127
2015-07-30 23:44:36 +01:00
Sebastian McKenzie
ffee5615e4
clear rawValue from JSX attribute values as they're tokenised and parsed differently - fixes #2114
2015-07-29 16:15:47 +01:00
Logan Smyth
c60ffdef7b
Ensure that the original state is restored on lookahead - fixes #2086
2015-07-26 20:56:07 -07:00
Sebastian McKenzie
e6e3a68a39
make flow transformer use internal state to track whether we're in a type or not - fixes #2083
2015-07-27 00:06:26 +01:00
Sebastian McKenzie
6ef86f67f4
update jsx tests
2015-07-26 05:34:03 +01:00
Sebastian McKenzie
23aa7b002d
improve babylon test coverage and remove dead code
2015-07-25 19:54:19 +01:00