41 lines
1 KiB
Text
41 lines
1 KiB
Text
=== tests/cases/conformance/classes/constructorDeclarations/constructorWithExpressionLessReturn.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(constructorWithExpressionLessReturn.ts, 0, 0))
|
|
|
|
constructor() {
|
|
return;
|
|
}
|
|
}
|
|
|
|
class D {
|
|
>D : Symbol(D, Decl(constructorWithExpressionLessReturn.ts, 4, 1))
|
|
|
|
x: number;
|
|
>x : Symbol(x, Decl(constructorWithExpressionLessReturn.ts, 6, 9))
|
|
|
|
constructor() {
|
|
return;
|
|
}
|
|
}
|
|
|
|
class E {
|
|
>E : Symbol(E, Decl(constructorWithExpressionLessReturn.ts, 11, 1))
|
|
|
|
constructor(public x: number) {
|
|
>x : Symbol(x, Decl(constructorWithExpressionLessReturn.ts, 14, 16))
|
|
|
|
return;
|
|
}
|
|
}
|
|
|
|
class F<T> {
|
|
>F : Symbol(F, Decl(constructorWithExpressionLessReturn.ts, 17, 1))
|
|
>T : Symbol(T, Decl(constructorWithExpressionLessReturn.ts, 19, 8))
|
|
|
|
constructor(public x: T) {
|
|
>x : Symbol(x, Decl(constructorWithExpressionLessReturn.ts, 20, 16))
|
|
>T : Symbol(T, Decl(constructorWithExpressionLessReturn.ts, 19, 8))
|
|
|
|
return;
|
|
}
|
|
}
|