37 lines
994 B
Text
37 lines
994 B
Text
=== tests/cases/compiler/implicitAnyAnyReturningFunction.ts ===
|
|
function A() {
|
|
>A : Symbol(A, Decl(implicitAnyAnyReturningFunction.ts, 0, 0))
|
|
|
|
return <any>"";
|
|
}
|
|
|
|
function B() {
|
|
>B : Symbol(B, Decl(implicitAnyAnyReturningFunction.ts, 2, 1))
|
|
|
|
var someLocal: any = {};
|
|
>someLocal : Symbol(someLocal, Decl(implicitAnyAnyReturningFunction.ts, 5, 7))
|
|
|
|
return someLocal;
|
|
>someLocal : Symbol(someLocal, Decl(implicitAnyAnyReturningFunction.ts, 5, 7))
|
|
}
|
|
|
|
class C {
|
|
>C : Symbol(C, Decl(implicitAnyAnyReturningFunction.ts, 7, 1))
|
|
|
|
public A() {
|
|
>A : Symbol(A, Decl(implicitAnyAnyReturningFunction.ts, 9, 9))
|
|
|
|
return <any>"";
|
|
}
|
|
|
|
public B() {
|
|
>B : Symbol(B, Decl(implicitAnyAnyReturningFunction.ts, 12, 5))
|
|
|
|
var someLocal: any = {};
|
|
>someLocal : Symbol(someLocal, Decl(implicitAnyAnyReturningFunction.ts, 15, 11))
|
|
|
|
return someLocal;
|
|
>someLocal : Symbol(someLocal, Decl(implicitAnyAnyReturningFunction.ts, 15, 11))
|
|
}
|
|
}
|
|
|