79 lines
3.6 KiB
Text
79 lines
3.6 KiB
Text
=== tests/cases/conformance/es6/templates/taggedTemplateStringsWithTypedTags.ts ===
|
|
interface I {
|
|
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTags.ts, 0, 0))
|
|
|
|
(stringParts: string[], ...rest: number[]): I;
|
|
>stringParts : Symbol(stringParts, Decl(taggedTemplateStringsWithTypedTags.ts, 1, 5))
|
|
>rest : Symbol(rest, Decl(taggedTemplateStringsWithTypedTags.ts, 1, 27))
|
|
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTags.ts, 0, 0))
|
|
|
|
g: I;
|
|
>g : Symbol(g, Decl(taggedTemplateStringsWithTypedTags.ts, 1, 50))
|
|
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTags.ts, 0, 0))
|
|
|
|
h: I;
|
|
>h : Symbol(h, Decl(taggedTemplateStringsWithTypedTags.ts, 2, 9))
|
|
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTags.ts, 0, 0))
|
|
|
|
member: I;
|
|
>member : Symbol(member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTags.ts, 0, 0))
|
|
|
|
thisIsNotATag(x: string): void
|
|
>thisIsNotATag : Symbol(thisIsNotATag, Decl(taggedTemplateStringsWithTypedTags.ts, 4, 14))
|
|
>x : Symbol(x, Decl(taggedTemplateStringsWithTypedTags.ts, 5, 18))
|
|
|
|
[x: number]: I;
|
|
>x : Symbol(x, Decl(taggedTemplateStringsWithTypedTags.ts, 6, 5))
|
|
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTags.ts, 0, 0))
|
|
}
|
|
|
|
var f: I;
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>I : Symbol(I, Decl(taggedTemplateStringsWithTypedTags.ts, 0, 0))
|
|
|
|
f `abc`
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
|
|
f `abc${1}def${2}ghi`;
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
|
|
f `abc`.member
|
|
>f `abc`.member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
|
|
f `abc${1}def${2}ghi`.member;
|
|
>f `abc${1}def${2}ghi`.member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
|
|
f `abc`["member"];
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>"member" : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
|
|
f `abc${1}def${2}ghi`["member"];
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>"member" : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
|
|
f `abc`[0].member `abc${1}def${2}ghi`;
|
|
>f `abc`[0].member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
|
|
f `abc${1}def${2}ghi`["member"].member `abc${1}def${2}ghi`;
|
|
>f `abc${1}def${2}ghi`["member"].member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>"member" : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
>member : Symbol(I.member, Decl(taggedTemplateStringsWithTypedTags.ts, 3, 9))
|
|
|
|
f.thisIsNotATag(`abc`);
|
|
>f.thisIsNotATag : Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTags.ts, 4, 14))
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>thisIsNotATag : Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTags.ts, 4, 14))
|
|
|
|
f.thisIsNotATag(`abc${1}def${2}ghi`);
|
|
>f.thisIsNotATag : Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTags.ts, 4, 14))
|
|
>f : Symbol(f, Decl(taggedTemplateStringsWithTypedTags.ts, 9, 3))
|
|
>thisIsNotATag : Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTags.ts, 4, 14))
|
|
|