Home
last modified time | relevance | path

Searched refs:bar2 (Results 1 – 25 of 199) sorted by relevance

12345678

/third_party/typescript/tests/baselines/reference/
DprimitiveConstraints2.symbols6 public bar2<U extends T>(x: T, y: U): T {
7 >bar2 : Symbol(C.bar2, Decl(primitiveConstraints2.ts, 0, 12))
24 x.bar2(2, ""); // should error
25 >x.bar2 : Symbol(C.bar2, Decl(primitiveConstraints2.ts, 0, 12))
27 >bar2 : Symbol(C.bar2, Decl(primitiveConstraints2.ts, 0, 12))
29 x.bar2<string>(2, ""); // should error
30 >x.bar2 : Symbol(C.bar2, Decl(primitiveConstraints2.ts, 0, 12))
32 >bar2 : Symbol(C.bar2, Decl(primitiveConstraints2.ts, 0, 12))
DprimitiveConstraints2.types5 public bar2<U extends T>(x: T, y: U): T {
6 >bar2 : <U extends T>(x: T, y: U) => T
20 x.bar2(2, ""); // should error
21 >x.bar2(2, "") : number
22 >x.bar2 : <U extends number>(x: number, y: U) => number
24 >bar2 : <U extends number>(x: number, y: U) => number
28 x.bar2<string>(2, ""); // should error
29 >x.bar2<string>(2, "") : number
30 >x.bar2 : <U extends number>(x: number, y: U) => number
32 >bar2 : <U extends number>(x: number, y: U) => number
DescapedIdentifiers.types149 bar2: number;
150 >bar2 : number
181 var interfaceType2Object1 = <interfaceType2>{ bar2: 0 };
183 ><interfaceType2>{ bar2: 0 } : interfaceType\u0032
184 >{ bar2: 0 } : { bar2: number; }
185 >bar2 : number
188 interfaceType2Object1.bar2 = 2;
189 >interfaceType2Object1.bar2 = 2 : 2
190 >interfaceType2Object1.bar2 : number
192 >bar2 : number
[all …]
DcollisionExportsRequireAndAlias.js8 export function bar2() { function
17 exports.bar2();
33 exports.bar2 = void 0;
34 function bar2() { function
36 exports.bar2 = bar2;
48 exports.bar2();
DcollisionExportsRequireAndAlias.symbols19 exports.bar2();
20 >exports.bar2 : Symbol(exports.bar2, Decl(collisionExportsRequireAndAlias_file3333.ts, 0, 0))
22 >bar2 : Symbol(exports.bar2, Decl(collisionExportsRequireAndAlias_file3333.ts, 0, 0))
30 export function bar2() {
31 >bar2 : Symbol(bar2, Decl(collisionExportsRequireAndAlias_file3333.ts, 0, 0))
DgenericConstraint1.symbols6 public bar2<U extends T>(x: T, y: U): T {
7 >bar2 : Symbol(C.bar2, Decl(genericConstraint1.ts, 0, 12))
24 x.bar2<string>(2, "");
25 >x.bar2 : Symbol(C.bar2, Decl(genericConstraint1.ts, 0, 12))
27 >bar2 : Symbol(C.bar2, Decl(genericConstraint1.ts, 0, 12))
DprimitiveConstraints2.js3 public bar2<U extends T>(x: T, y: U): T { field in C
9 x.bar2(2, ""); // should error
10 x.bar2<string>(2, ""); // should error
16 C.prototype.bar2 = function (x, y) { method in C
22 x.bar2(2, ""); // should error
23 x.bar2(2, ""); // should error
DcollisionExportsRequireAndAlias.types20 exports.bar2();
21 >exports.bar2() : void
22 >exports.bar2 : () => void
24 >bar2 : () => void
32 export function bar2() {
33 >bar2 : () => void
DgenericConstraint1.types5 public bar2<U extends T>(x: T, y: U): T {
6 >bar2 : <U extends T>(x: T, y: U) => T
20 x.bar2<string>(2, "");
21 >x.bar2<string>(2, "") : number
22 >x.bar2 : <U extends number>(x: number, y: U) => number
24 >bar2 : <U extends number>(x: number, y: U) => number
DconstructorOverloads1.symbols22 bar2() { /*WScript.Echo("bar1");*/ }
23 >bar2 : Symbol(Foo.bar2, Decl(constructorOverloads1.ts, 9, 41))
51 f1.bar2();
52 >f1.bar2 : Symbol(Foo.bar2, Decl(constructorOverloads1.ts, 9, 41))
54 >bar2 : Symbol(Foo.bar2, Decl(constructorOverloads1.ts, 9, 41))
DescapedIdentifiers.js58 bar2: number;
65 var interfaceType2Object1 = <interfaceType2>{ bar2: 0 };
66 interfaceType2Object1.bar2 = 2;
67 var interfaceType2Object2 = <interfaceType\u0032>{ bar2: 0 };
68 interfaceType2Object2.bar2 = 2;
174 var interfaceType2Object1 = { bar2: 0 }; property
175 interfaceType2Object1.bar2 = 2;
176 var interfaceType2Object2 = { bar2: 0 }; property
177 interfaceType2Object2.bar2 = 2;
DdeclarationEmitRetainsJsdocyComments.types7 >foo : (p: string) => { bar: (s: number) => void; bar2(s: number): void; }
8 … * @param s */ bar2(s: number) {}, }} : (p: string) => { bar: (s: numbe…
12 …comment3 * @param s */ bar2(s: number) {}, } : { bar: (s: number) => vo…
27 bar2(s: number) {},
28 >bar2 : (s: number) => void
DescapedIdentifiers.symbols127 bar2: number;
128 >bar2 : Symbol(interfaceType\u0032.bar2, Decl(escapedIdentifiers.ts, 55, 31))
151 var interfaceType2Object1 = <interfaceType2>{ bar2: 0 };
154 >bar2 : Symbol(bar2, Decl(escapedIdentifiers.ts, 63, 45))
156 interfaceType2Object1.bar2 = 2;
157 >interfaceType2Object1.bar2 : Symbol(interfaceType\u0032.bar2, Decl(escapedIdentifiers.ts, 55, 31))
159 >bar2 : Symbol(interfaceType\u0032.bar2, Decl(escapedIdentifiers.ts, 55, 31))
161 var interfaceType2Object2 = <interfaceType\u0032>{ bar2: 0 };
164 >bar2 : Symbol(bar2, Decl(escapedIdentifiers.ts, 65, 50))
166 interfaceType2Object2.bar2 = 2;
[all …]
DtypeGuardsWithInstanceOfByConstructorSignature.js58 bar2: number;
67 obj5.bar2;
74 obj6.bar2;
105 bar2: number;
113 obj9.bar2;
120 obj10.bar2;
233 obj5.bar2;
239 obj6.bar2;
255 obj9.bar2;
261 obj10.bar2;
DconstructorOverloads1.types22 bar2() { /*WScript.Echo("bar1");*/ }
23 >bar2 : () => void
59 f1.bar2();
60 >f1.bar2() : void
61 >f1.bar2 : () => void
63 >bar2 : () => void
DinferTypes2.js12 export function bar2<T>(obj: T) {
29 exports.bar2 = exports.bar = void 0;
34 function bar2(obj) { function
37 exports.bar2 = bar2;
51 export declare function bar2<T>(obj: T): T extends {
DpropertyAssignment.symbols13 var bar2: { x : number; }
14 >bar2 : Symbol(bar2, Decl(propertyAssignment.ts, 4, 3))
30 foo2 = bar2;
32 >bar2 : Symbol(bar2, Decl(propertyAssignment.ts, 4, 3))
DpropertyAssignment.types14 var bar2: { x : number; }
15 >bar2 : { x: number; }
32 foo2 = bar2;
33 >foo2 = bar2 : { x: number; }
35 >bar2 : { x: number; }
DgenericConstraint1.js3 public bar2<U extends T>(x: T, y: U): T { field in C
9 x.bar2<string>(2, "");
15 C.prototype.bar2 = function (x, y) { method in C
21 x.bar2(2, "");
DpropertyAssignment.js6 var bar2: { x : number; } variable
14 foo2 = bar2;
21 var bar2; variable
25 foo2 = bar2;
DtypeGuardsWithInstanceOfByConstructorSignature.errors.txt6 …dsWithInstanceOfByConstructorSignature.ts(66,10): error TS2339: Property 'bar2' does not exist on …
9 …dsWithInstanceOfByConstructorSignature.ts(73,10): error TS2339: Property 'bar2' does not exist on …
10 Property 'bar2' does not exist on type 'C1'.
13 …sWithInstanceOfByConstructorSignature.ts(112,10): error TS2339: Property 'bar2' does not exist on …
16 …sWithInstanceOfByConstructorSignature.ts(119,11): error TS2339: Property 'bar2' does not exist on …
17 Property 'bar2' does not exist on type 'E1'.
96 bar2: number;
105 obj5.bar2;
107 !!! error TS2339: Property 'bar2' does not exist on type 'C1'.
117 obj6.bar2;
[all …]
DtypeGuardsWithInstanceOfByConstructorSignature.types146 bar2: number;
147 >bar2 : number
175 obj5.bar2;
176 >obj5.bar2 : any
178 >bar2 : any
199 obj6.bar2;
200 >obj6.bar2 : any
202 >bar2 : any
266 bar2: number;
267 >bar2 : number
[all …]
DconstructorOverloads1.js12 bar2() { /*WScript.Echo("bar1");*/ } method in Foo
21 f1.bar2();
29 Foo.prototype.bar2 = function () { }; method in Foo
37 f1.bar2();
/third_party/typescript/tests/cases/compiler/
DescapedIdentifiers.ts60 bar2: number; property
67 var interfaceType2Object1 = <interfaceType2>{ bar2: 0 }; variable
68 interfaceType2Object1.bar2 = 2;
69 var interfaceType2Object2 = <interfaceType\u0032>{ bar2: 0 }; variable
70 interfaceType2Object2.bar2 = 2;
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardsWithInstanceOfByConstructorSignature.ts57 bar2: number; property
66 obj5.bar2;
73 obj6.bar2;
104 bar2: number; property
112 obj9.bar2;
119 obj10.bar2;

12345678