@@ -12388,22 +12388,6 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc
1238812388 3 │ }
1238912389 ╰────
1239012390
12391- × TS(1245): Method 'method' cannot have an implementation because it is marked abstract.
12392- ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/abstract-method-with-body/input.ts:2:12]
12393- 1 │ abstract class Foo {
12394- 2 │ abstract method() {}
12395- · ──────
12396- 3 │ }
12397- ╰────
12398-
12399- × TS(1245): Method 'foo()' cannot have an implementation because it is marked abstract.
12400- ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/abstract-method-with-body-computed/input.ts:2:13]
12401- 1 │ abstract class Foo {
12402- 2 │ abstract [foo()]() {}
12403- · ─────
12404- 3 │ }
12405- ╰────
12406-
1240712391 × TS(1245): Method 'foo()' cannot have an implementation because it is marked abstract.
1240812392 ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/abstract-method-with-body-computed/input.ts:2:13]
1240912393 1 │ abstract class Foo {
@@ -12665,14 +12649,6 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc
1266512649 × TS(1245): Method 'd' cannot have an implementation because it is marked abstract.
1266612650 ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/generator-method-with-modifiers/input.ts:5:13]
1266712651 4 │ static *c() {}
12668- 5 │ abstract *d() {}
12669- · ─
12670- 6 │ readonly *e() {}
12671- ╰────
12672-
12673- × TS(1245): Method 'd' cannot have an implementation because it is marked abstract.
12674- ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/generator-method-with-modifiers/input.ts:5:13]
12675- 4 │ static *c() {}
1267612652 5 │ abstract *d() {}
1267712653 · ─
1267812654 6 │ readonly *e() {}
@@ -12825,14 +12801,6 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc
1282512801 × TS(1245): Method 'd' cannot have an implementation because it is marked abstract.
1282612802 ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/optional-generator-method-with-invalid-modifiers/input.ts:2:13]
1282712803 1 │ class C {
12828- 2 │ abstract *d?() { }
12829- · ─
12830- 3 │ readonly *e?() { }
12831- ╰────
12832-
12833- × TS(1245): Method 'd' cannot have an implementation because it is marked abstract.
12834- ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/optional-generator-method-with-invalid-modifiers/input.ts:2:13]
12835- 1 │ class C {
1283612804 2 │ abstract *d?() { }
1283712805 · ─
1283812806 3 │ readonly *e?() { }
@@ -12849,14 +12817,6 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc
1284912817 × TS(1245): Method 'd?.d' cannot have an implementation because it is marked abstract.
1285012818 ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/optional-generator-method-with-invalid-modifiers/input.ts:8:14]
1285112819 7 │ class A {
12852- 8 │ abstract *[d?.d]?() { }
12853- · ────
12854- 9 │ readonly *[e?.e]?() { }
12855- ╰────
12856-
12857- × TS(1245): Method 'd?.d' cannot have an implementation because it is marked abstract.
12858- ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/optional-generator-method-with-invalid-modifiers/input.ts:8:14]
12859- 7 │ class A {
1286012820 8 │ abstract *[d?.d]?() { }
1286112821 · ────
1286212822 9 │ readonly *[e?.e]?() { }
0 commit comments