Skip to content

Rename flow AST Type ExistentialTypeParam to ExistsTypeAnnotation - #5199

Merged
hzoo merged 2 commits into
babel:update-babylonfrom
koba04:rename-flow-ast
Feb 15, 2017
Merged

hzoo merged 2 commits into
babel:update-babylonfrom
koba04:rename-flow-ast

Conversation

@koba04

@koba04 koba04 commented Jan 24, 2017

Copy link
Copy Markdown
Contributor
Q A
Patch: Bug Fix? no
Major: Breaking Change? yes
Minor: New Feature? no
Deprecations? no
Spec Compliancy? no
Tests Added/Pass? yes
Fixed Tickets babel/babylon#322, babel/babylon#319
License MIT
Doc PR
Dependency Changes

@mention-bot

Copy link
Copy Markdown

@koba04, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ForbesLindesay, @xtuc and @loganfsmyth to be potential reviewers.

@babel-bot

Copy link
Copy Markdown
Collaborator

Hey @koba04! It looks like one or more of your builds have failed. I've copied the relevant info below to save you some time.

@xtuc
xtuc requested a review from danez January 24, 2017 08:11
@koba04

koba04 commented Jan 24, 2017

Copy link
Copy Markdown
Contributor Author

The reason why the builds have failed seems that this PR needs babel/babylon#322

@danez danez added this to the Babel 7 milestone Jan 24, 2017
@danez danez added PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release pkg: parser labels Jan 24, 2017
@hzoo

hzoo commented Jan 25, 2017

Copy link
Copy Markdown
Member

We could pin to github 7.0 branch for babylon if we wanted

@koba04
koba04 changed the base branch from master to 7.0 January 25, 2017 06:51
@koba04

koba04 commented Jan 27, 2017 •

Copy link
Copy Markdown
Contributor Author

I run tests on 7.0 branch with babylon 7.0, but many tests were failed.
I might fix it before this PR.

Details
./scripts/test.sh


  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․,․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․,,,,,․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․,․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․!․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․!․․․․․․․․․․․․․
  ․!!!!!!!!!!!!!!!!!!!․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․!․․․!․․․․․․!․․․․․․․․․․․․․․․․․․!!!!․․․․․․․․․․
  !․․․․․․․․․․․․․․․․․․․!!!!!!!!․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
  ․․․․․․․!․․․!․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  1623 passing (2m)
  7 pending
  39 failing

  1) generation/auto string jsx:
     SyntaxError: Unexpected token (7:11)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseReturnStatement (/Users/koba04/repos/github/babylon/lib/index.js:1997:26)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1767:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseBlock (/Users/koba04/repos/github/babylon/lib/index.js:2166:8)
      at Parser.pp$3.parseFunctionBody (/Users/koba04/repos/github/babylon/lib/index.js:4043:22)
      at Parser.pp$3.parseMethod (/Users/koba04/repos/github/babylon/lib/index.js:4012:8)
      at Parser.pp$3.parseObjPropValue (/Users/koba04/repos/github/babylon/lib/index.js:3933:10)
      at Parser.pp$3.parseObj (/Users/koba04/repos/github/babylon/lib/index.js:3907:10)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3598:19)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExprListItem (/Users/koba04/repos/github/babylon/lib/index.js:4147:16)
      at Parser.pp$3.parseCallExpressionArguments (/Users/koba04/repos/github/babylon/lib/index.js:3452:20)
      at Parser.pp$3.parseSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3412:31)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3383:15)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  2) generation/compact expression statement:
     SyntaxError: Unexpected token (1:23)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseIdentifier (/Users/koba04/repos/github/babylon/lib/index.js:4168:10)
      at Parser.pp$3.parsePropertyName (/Users/koba04/repos/github/babylon/lib/index.js:3988:96)
      at Parser.pp$3.parseObj (/Users/koba04/repos/github/babylon/lib/index.js:3904:12)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3598:19)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseParenAndDistinguishExpression (/Users/koba04/repos/github/babylon/lib/index.js:3704:26)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3588:19)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  3) generation/flow array types:
     SyntaxError: Unexpected token, expected ; (1:5)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2089:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  4) generation/flow arrow functions:
     SyntaxError: Unexpected token, expected , (1:15)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$3.parseParenAndDistinguishExpression (/Users/koba04/repos/github/babylon/lib/index.js:3690:12)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3588:19)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$1.parseVar (/Users/koba04/repos/github/babylon/lib/index.js:2257:24)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2088:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  5) generation/flow boolean literal types:
     SyntaxError: Unexpected token, expected ; (1:7)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2089:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  6) generation/flow call properties:
     SyntaxError: Unexpected token, expected ; (1:5)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2089:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  7) generation/flow declare module:
     SyntaxError: Unexpected token, expected ; (1:8)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseExpressionStatement (/Users/koba04/repos/github/babylon/lib/index.js:2155:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1830:17)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  8) generation/flow declare statements:
     SyntaxError: Unexpected token, expected ; (1:8)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseExpressionStatement (/Users/koba04/repos/github/babylon/lib/index.js:2155:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1830:17)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  9) generation/flow def site variance:
     SyntaxError: Unexpected token, expected { (1:8)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$1.parseClassBody (/Users/koba04/repos/github/babylon/lib/index.js:2345:8)
      at Parser.pp$1.parseClass (/Users/koba04/repos/github/babylon/lib/index.js:2322:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1762:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  10) generation/flow interfaces module and script:
     SyntaxError: Unexpected token, expected ; (1:10)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseExpressionStatement (/Users/koba04/repos/github/babylon/lib/index.js:2155:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1830:17)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  11) generation/flow null literal types:
     SyntaxError: Unexpected token, expected ; (1:7)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2089:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  12) generation/flow number literal types:
     SyntaxError: Unexpected token, expected ; (1:5)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2089:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  13) generation/flow qualified generic type:
     SyntaxError: Unexpected token, expected ; (1:5)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2089:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  14) generation/flow string literal types:
     SyntaxError: Unexpected token, expected , (1:30)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$2.parseBindingList (/Users/koba04/repos/github/babylon/lib/index.js:2976:12)
      at Parser.pp$1.parseFunctionParams (/Users/koba04/repos/github/babylon/lib/index.js:2312:22)
      at Parser.pp$1.parseFunction (/Users/koba04/repos/github/babylon/lib/index.js:2302:8)
      at Parser.pp$1.parseFunctionStatement (/Users/koba04/repos/github/babylon/lib/index.js:1972:15)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1757:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  15) generation/flow this types:
     SyntaxError: Unexpected token, expected { (2:7)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$1.parseBlock (/Users/koba04/repos/github/babylon/lib/index.js:2165:8)
      at Parser.pp$3.parseFunctionBody (/Users/koba04/repos/github/babylon/lib/index.js:4043:22)
      at Parser.pp$3.parseMethod (/Users/koba04/repos/github/babylon/lib/index.js:4012:8)
      at Parser.pp$1.parseClassMethod (/Users/koba04/repos/github/babylon/lib/index.js:2468:8)
      at Parser.pp$1.parseClassBody (/Users/koba04/repos/github/babylon/lib/index.js:2429:10)
      at Parser.pp$1.parseClass (/Users/koba04/repos/github/babylon/lib/index.js:2322:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1762:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  16) generation/flow tuples:
     SyntaxError: Unexpected token, expected ; (1:5)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2089:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  17) generation/flow type alias:
     SyntaxError: Unexpected token, expected ; (1:5)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseExpressionStatement (/Users/koba04/repos/github/babylon/lib/index.js:2155:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1830:17)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  18) generation/flow type annotations:
     SyntaxError: Unexpected token, expected , (1:19)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$2.parseBindingList (/Users/koba04/repos/github/babylon/lib/index.js:2976:12)
      at Parser.pp$1.parseFunctionParams (/Users/koba04/repos/github/babylon/lib/index.js:2312:22)
      at Parser.pp$1.parseFunction (/Users/koba04/repos/github/babylon/lib/index.js:2302:8)
      at Parser.pp$1.parseFunctionStatement (/Users/koba04/repos/github/babylon/lib/index.js:1972:15)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1757:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  19) generation/flow type parameters:
     SyntaxError: Unexpected token, expected ; (1:5)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseExpressionStatement (/Users/koba04/repos/github/babylon/lib/index.js:2155:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1830:17)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  20) generation/flow typecasts:
     SyntaxError: Unexpected token, expected , (1:4)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$3.parseParenAndDistinguishExpression (/Users/koba04/repos/github/babylon/lib/index.js:3690:12)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3588:19)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  21) generation/flowUsesCommas ObjectExpression:
     SyntaxError: Unexpected token, expected ; (1:5)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.semicolon (/Users/koba04/repos/github/babylon/lib/index.js:1659:38)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2089:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  22) generation/types BindExpression:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  23) generation/types ClassBody ClassProperty:
     SyntaxError: Unexpected token (3:6)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$1.parseClassProperty (/Users/koba04/repos/github/babylon/lib/index.js:2457:50)
      at Parser.pp$1.parseClassBody (/Users/koba04/repos/github/babylon/lib/index.js:2380:34)
      at Parser.pp$1.parseClass (/Users/koba04/repos/github/babylon/lib/index.js:2322:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1762:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  24) generation/types Decorator:
     SyntaxError: Unexpected token (2:2)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$1.parseDecorator (/Users/koba04/repos/github/babylon/lib/index.js:1858:10)
      at Parser.pp$3.parseObj (/Users/koba04/repos/github/babylon/lib/index.js:3846:28)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3598:19)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$1.parseVar (/Users/koba04/repos/github/babylon/lib/index.js:2257:24)
      at Parser.pp$1.parseVarStatement (/Users/koba04/repos/github/babylon/lib/index.js:2088:8)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1780:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  25) generation/types ExportSpecifier2:
     SyntaxError: Unexpected token (1:9)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$1.parseExportFrom (/Users/koba04/repos/github/babylon/lib/index.js:2579:12)
      at Parser.pp$1.parseExport (/Users/koba04/repos/github/babylon/lib/index.js:2502:12)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1803:74)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  26) generation/types ExportSpecifier3:
     SyntaxError: Unexpected token, expected { (1:7)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$1.parseExportSpecifiers (/Users/koba04/repos/github/babylon/lib/index.js:2715:8)
      at Parser.pp$1.parseExport (/Users/koba04/repos/github/babylon/lib/index.js:2543:28)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1803:74)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  27) generation/types ExportSpecifier4:
     SyntaxError: Unexpected token (1:9)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$1.parseExportFrom (/Users/koba04/repos/github/babylon/lib/index.js:2579:12)
      at Parser.pp$1.parseExport (/Users/koba04/repos/github/babylon/lib/index.js:2502:12)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1803:74)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  28) generation/types ExportSpecifier5:
     SyntaxError: Unexpected token, expected { (1:7)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$1.parseExportSpecifiers (/Users/koba04/repos/github/babylon/lib/index.js:2715:8)
      at Parser.pp$1.parseExport (/Users/koba04/repos/github/babylon/lib/index.js:2543:28)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1803:74)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  29) generation/types Import:
     SyntaxError: Unexpected token, expected { (1:6)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp.expect (/Users/koba04/repos/github/babylon/lib/index.js:1666:33)
      at Parser.pp$1.parseImportSpecifiers (/Users/koba04/repos/github/babylon/lib/index.js:2783:8)
      at Parser.pp$1.parseImport (/Users/koba04/repos/github/babylon/lib/index.js:2753:10)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1803:49)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  30) generation/types XJSAttribute:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  31) generation/types XJSElement XJSOpeningElement XJSClosingElement XJSIdentifier:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  32) generation/types XJSEmptyExpression:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  33) generation/types XJSExpressionContainer:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  34) generation/types XJSMemberExpression:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  35) generation/types XJSNamespacedName:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  36) generation/types XJSSpreadAttribute:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  37) generation/types XJSSpreadChildren:
     SyntaxError: Unexpected token (1:0)
      at Parser.pp$5.raise (/Users/koba04/repos/github/babylon/lib/index.js:4290:13)
      at Parser.pp.unexpected (/Users/koba04/repos/github/babylon/lib/index.js:1678:8)
      at Parser.pp$3.parseExprAtom (/Users/koba04/repos/github/babylon/lib/index.js:3629:12)
      at Parser.pp$3.parseExprSubscripts (/Users/koba04/repos/github/babylon/lib/index.js:3373:19)
      at Parser.pp$3.parseMaybeUnary (/Users/koba04/repos/github/babylon/lib/index.js:3353:19)
      at Parser.pp$3.parseExprOps (/Users/koba04/repos/github/babylon/lib/index.js:3283:19)
      at Parser.pp$3.parseMaybeConditional (/Users/koba04/repos/github/babylon/lib/index.js:3260:19)
      at Parser.pp$3.parseMaybeAssign (/Users/koba04/repos/github/babylon/lib/index.js:3223:19)
      at Parser.pp$3.parseExpression (/Users/koba04/repos/github/babylon/lib/index.js:3185:19)
      at Parser.pp$1.parseStatement (/Users/koba04/repos/github/babylon/lib/index.js:1825:19)
      at Parser.pp$1.parseBlockBody (/Users/koba04/repos/github/babylon/lib/index.js:2185:21)
      at Parser.pp$1.parseTopLevel (/Users/koba04/repos/github/babylon/lib/index.js:1696:8)
      at Parser.parse (/Users/koba04/repos/github/babylon/lib/index.js:1590:17)
      at parse (/Users/koba04/repos/github/babylon/lib/index.js:6544:37)
      at Context.<anonymous> (packages/babel-generator/test/index.js:307:29)

  38) babel-code-frame opts.highlightCode:

      AssertionError: false == true
      + expected - actual

      -false
      +true
      
      at Context.<anonymous> (packages/babel-code-frame/test/index.js:114:12)

  39) babel-code-frame opts.forceColor:

      AssertionError: '\u001b[0m \u001b[90m 2 | \u001b[39m\n\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 3 | \u001b[39m\n \u001b[90m 4 | \u001b[ == '  2 | \n> 3 | \n  4 | '
      + expected - actual

      -�[0m �[90m 2 | �[39m
      -�[31m�[1m>�[22m�[39m�[90m 3 | �[39m
      - �[90m 4 | �[39m�[0m
      +  2 | 
      +> 3 | 
      +  4 | 
      
      at Context.<anonymous> (packages/babel-code-frame/test/index.js:200:12)

@existentialism

Copy link
Copy Markdown
Member

@koba just fyi, #5231 should fix the test issues

@xtuc xtuc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

I will update the website, once merged.

@codecov-io

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request head (rename-flow-ast@77eea9d).


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e530e3c...77eea9d. Read the comment docs.

@babel-bot

Copy link
Copy Markdown
Collaborator

Hey @koba04! It looks like one or more of your builds have failed. I've copied the relevant info below to save you some time.

@koba04

koba04 commented Jan 30, 2017

Copy link
Copy Markdown
Contributor Author

I can pass the failed tests with babylon 7.0 in local.

@xtuc

xtuc commented Jan 30, 2017

Copy link
Copy Markdown
Member

@koba04 I ran the tests against your branch in local and got the same failures as the last build. Maybe try by cleaning your local repo.

@danez

danez commented Jan 30, 2017

Copy link
Copy Markdown
Member

this PR's tests won't work, as long as we do not release babylon 7.0

@koba04

koba04 commented Jan 31, 2017

Copy link
Copy Markdown
Contributor Author

Yes, you have to use babylon 7.0 branch to pass the tests.

We could pin to github 7.0 branch for babylon if we wanted

#5199 (comment)

Do you have any plans for that?

@hzoo

hzoo commented Feb 15, 2017 •

Copy link
Copy Markdown
Member

Released [email protected] - can install with npm i babylon@next -D

Made #5317, so we can target that branch instead of 7.0 if it all passes

@hzoo
hzoo changed the base branch from 7.0 to update-babylon February 15, 2017 19:54
@hzoo
hzoo merged commit 9188be9 into babel:update-babylon Feb 15, 2017
@koba04

koba04 commented Feb 16, 2017

Copy link
Copy Markdown
Contributor Author

Thanks!

@koba04
koba04 deleted the rename-flow-ast branch February 16, 2017 01:07
@lock lock Bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 6, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Oct 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: parser PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants