Merge pull request #3351 from hzoo/asi-generator
Add class properties test with a generator method that results in a p…
This commit is contained in:
commit
a1c11e6046
4
packages/babylon/test/fixtures/experimental/class-properties/asi-failure-generator/actual.js
vendored
Normal file
4
packages/babylon/test/fixtures/experimental/class-properties/asi-failure-generator/actual.js
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
class Foo {
|
||||||
|
p = x
|
||||||
|
*m () {}
|
||||||
|
}
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"throws": "Unexpected token (3:8)",
|
||||||
|
"plugins": ["classProperties"]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user