2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/noSelfOnVars.ts ===
|
|
|
|
function foo() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(noSelfOnVars.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
function bar() { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>bar : () => void, Symbol(bar, Decl(noSelfOnVars.ts, 0, 16))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var x = bar;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : () => void, Symbol(x, Decl(noSelfOnVars.ts, 2, 7))
|
|
|
|
>bar : () => void, Symbol(bar, Decl(noSelfOnVars.ts, 0, 16))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|