29 lines
909 B
Text
29 lines
909 B
Text
=== tests/cases/compiler/strictModeUseContextualKeyword.ts ===
|
|
"use strict"
|
|
var as = 0;
|
|
>as : Symbol(as, Decl(strictModeUseContextualKeyword.ts, 1, 3))
|
|
|
|
function foo(as: string) { }
|
|
>foo : Symbol(foo, Decl(strictModeUseContextualKeyword.ts, 1, 11))
|
|
>as : Symbol(as, Decl(strictModeUseContextualKeyword.ts, 2, 13))
|
|
|
|
class C {
|
|
>C : Symbol(C, Decl(strictModeUseContextualKeyword.ts, 2, 28))
|
|
|
|
public as() { }
|
|
>as : Symbol(as, Decl(strictModeUseContextualKeyword.ts, 3, 9))
|
|
}
|
|
function F() {
|
|
>F : Symbol(F, Decl(strictModeUseContextualKeyword.ts, 5, 1))
|
|
|
|
function as() { }
|
|
>as : Symbol(as, Decl(strictModeUseContextualKeyword.ts, 6, 14))
|
|
}
|
|
function H() {
|
|
>H : Symbol(H, Decl(strictModeUseContextualKeyword.ts, 8, 1))
|
|
|
|
let {as} = { as: 1 };
|
|
>as : Symbol(as, Decl(strictModeUseContextualKeyword.ts, 10, 9))
|
|
>as : Symbol(as, Decl(strictModeUseContextualKeyword.ts, 10, 16))
|
|
}
|
|
|