TypeScript/tests/baselines/reference/namedFunctionExpressionAssignedToClassProperty.symbols
2015-04-15 16:44:20 -07:00

19 lines
477 B
Plaintext

=== tests/cases/compiler/namedFunctionExpressionAssignedToClassProperty.ts ===
class Foo{
>Foo : Symbol(Foo, Decl(namedFunctionExpressionAssignedToClassProperty.ts, 0, 0))
a = function bar(){
>a : Symbol(a, Decl(namedFunctionExpressionAssignedToClassProperty.ts, 0, 10))
>bar : Symbol(bar, Decl(namedFunctionExpressionAssignedToClassProperty.ts, 2, 10))
}; // this shouldn't crash the compiler...
constructor(){
}
}