mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
436 B
Plaintext
14 lines
436 B
Plaintext
//// [tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractAsIdentifier.ts] ////
|
|
|
|
=== classAbstractAsIdentifier.ts ===
|
|
class abstract {
|
|
>abstract : Symbol(abstract, Decl(classAbstractAsIdentifier.ts, 0, 0))
|
|
|
|
foo() { return 1; }
|
|
>foo : Symbol(abstract.foo, Decl(classAbstractAsIdentifier.ts, 0, 16))
|
|
}
|
|
|
|
new abstract;
|
|
>abstract : Symbol(abstract, Decl(classAbstractAsIdentifier.ts, 0, 0))
|
|
|