Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Babel reports syntax error if class constructor parentheses are on different line #116

Closed
danez opened this issue Sep 8, 2016 · 2 comments
Labels

Comments

@danez
Copy link
Member

danez commented Sep 8, 2016

Reported by @Gozala

While I would expect it to work same as when there is no line break at the end of line 2.

class A {

constructor
( a
, b
) {
}
}
@danez danez added the i: bug label Sep 8, 2016
motiz88 added a commit to motiz88/babylon that referenced this issue Oct 13, 2016
@motiz88
Copy link
Contributor

motiz88 commented Oct 13, 2016

Looks like #158 fixes this too 💃

@danez
Copy link
Member Author

danez commented Jun 3, 2017

Fixed as of 6.17.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants