2014-10-24 02:31:12 +02:00
|
|
|
=== tests/cases/conformance/es6/templates/taggedTemplateStringsWithTypedTagsES6.ts ===
|
|
|
|
interface I {
|
2015-04-13 23:01:57 +02:00
|
|
|
>I : I, Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
(stringParts: string[], ...rest: number[]): I;
|
2015-04-13 23:01:57 +02:00
|
|
|
>stringParts : string[], Symbol(stringParts, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 1, 5))
|
|
|
|
>rest : number[], Symbol(rest, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 1, 27))
|
|
|
|
>I : I, Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
g: I;
|
2015-04-13 23:01:57 +02:00
|
|
|
>g : I, Symbol(g, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 1, 50))
|
|
|
|
>I : I, Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
h: I;
|
2015-04-13 23:01:57 +02:00
|
|
|
>h : I, Symbol(h, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 2, 9))
|
|
|
|
>I : I, Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
member: I;
|
2015-04-13 23:01:57 +02:00
|
|
|
>member : I, Symbol(member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
|
|
|
>I : I, Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
thisIsNotATag(x: string): void
|
2015-04-13 23:01:57 +02:00
|
|
|
>thisIsNotATag : (x: string) => void, Symbol(thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
|
|
|
|
>x : string, Symbol(x, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 5, 18))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
[x: number]: I;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 6, 5))
|
|
|
|
>I : I, Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
|
2014-10-24 02:31:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
var f: I;
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
|
|
|
>I : I, Symbol(I, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 0, 0))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f `abc`
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc` : string
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f `abc${1}def${2}ghi`;
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc${1}def${2}ghi` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${1}def${2}ghi` : string
|
|
|
|
>1 : number
|
|
|
|
>2 : number
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f `abc`.member
|
2015-04-13 23:01:57 +02:00
|
|
|
>f `abc`.member : I, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc` : string
|
2015-04-13 23:01:57 +02:00
|
|
|
>member : I, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f `abc${1}def${2}ghi`.member;
|
2015-04-13 23:01:57 +02:00
|
|
|
>f `abc${1}def${2}ghi`.member : I, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc${1}def${2}ghi` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${1}def${2}ghi` : string
|
|
|
|
>1 : number
|
|
|
|
>2 : number
|
2015-04-13 23:01:57 +02:00
|
|
|
>member : I, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f `abc`["member"];
|
2014-11-05 00:05:05 +01:00
|
|
|
>f `abc`["member"] : I
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc` : string
|
2015-04-13 23:01:57 +02:00
|
|
|
>"member" : string, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f `abc${1}def${2}ghi`["member"];
|
2014-11-05 00:05:05 +01:00
|
|
|
>f `abc${1}def${2}ghi`["member"] : I
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc${1}def${2}ghi` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${1}def${2}ghi` : string
|
|
|
|
>1 : number
|
|
|
|
>2 : number
|
2015-04-13 23:01:57 +02:00
|
|
|
>"member" : string, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f `abc`[0].member `abc${1}def${2}ghi`;
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc`[0].member `abc${1}def${2}ghi` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f `abc`[0].member : I, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2014-11-05 00:05:05 +01:00
|
|
|
>f `abc`[0] : I
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc` : string
|
|
|
|
>0 : number
|
2015-04-13 23:01:57 +02:00
|
|
|
>member : I, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${1}def${2}ghi` : string
|
|
|
|
>1 : number
|
|
|
|
>2 : number
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f `abc${1}def${2}ghi`["member"].member `abc${1}def${2}ghi`;
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc${1}def${2}ghi`["member"].member `abc${1}def${2}ghi` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f `abc${1}def${2}ghi`["member"].member : I, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2014-11-05 00:05:05 +01:00
|
|
|
>f `abc${1}def${2}ghi`["member"] : I
|
2015-04-13 21:36:11 +02:00
|
|
|
>f `abc${1}def${2}ghi` : I
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${1}def${2}ghi` : string
|
|
|
|
>1 : number
|
|
|
|
>2 : number
|
2015-04-13 23:01:57 +02:00
|
|
|
>"member" : string, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
|
|
|
>member : I, Symbol(I.member, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 3, 9))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${1}def${2}ghi` : string
|
|
|
|
>1 : number
|
|
|
|
>2 : number
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f.thisIsNotATag(`abc`);
|
|
|
|
>f.thisIsNotATag(`abc`) : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>f.thisIsNotATag : (x: string) => void, Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
|
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
|
|
|
>thisIsNotATag : (x: string) => void, Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc` : string
|
2014-10-24 02:31:12 +02:00
|
|
|
|
|
|
|
f.thisIsNotATag(`abc${1}def${2}ghi`);
|
|
|
|
>f.thisIsNotATag(`abc${1}def${2}ghi`) : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>f.thisIsNotATag : (x: string) => void, Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
|
|
|
|
>f : I, Symbol(f, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 9, 3))
|
|
|
|
>thisIsNotATag : (x: string) => void, Symbol(I.thisIsNotATag, Decl(taggedTemplateStringsWithTypedTagsES6.ts, 4, 14))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${1}def${2}ghi` : string
|
|
|
|
>1 : number
|
|
|
|
>2 : number
|
2014-10-24 02:31:12 +02:00
|
|
|
|