mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
429 B
Plaintext
15 lines
429 B
Plaintext
//// [tests/cases/conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration8_es6.ts] ////
|
|
|
|
=== MemberFunctionDeclaration8_es6.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(MemberFunctionDeclaration8_es6.ts, 0, 0))
|
|
|
|
foo() {
|
|
>foo : Symbol(C.foo, Decl(MemberFunctionDeclaration8_es6.ts, 0, 9))
|
|
|
|
// Make sure we don't think of *bar as the start of a generator method.
|
|
if (a) ¬ * bar;
|
|
return bar;
|
|
}
|
|
}
|