Home
last modified time | relevance | path

Searched refs:prop2 (Results 1 – 25 of 145) sorted by relevance

123456

/third_party/typescript/tests/baselines/reference/
DdivergentAccessorsTypes4.types13 prop2: number;
14 >prop2 : number
28 get prop2(): string { return ""; }
29 >prop2 : string
32 set prop2(s: string | 42) { }
33 >prop2 : string
63 i.prop2;
64 >i.prop2 : never
66 >prop2 : never
69 i.prop2 = 42;
[all …]
DdivergentAccessorsTypes5.types16 prop2: number;
17 >prop2 : number
31 get prop2(): string { return ""; }
32 >prop2 : string
35 set prop2(s: string | 42) { }
36 >prop2 : string
52 get prop2(): string { return ""; }
53 >prop2 : string
56 set prop2(s: string | number | boolean) { }
57 >prop2 : string
[all …]
DdivergentAccessorsTypes4.symbols12 prop2: number;
13 >prop2 : Symbol(One.prop2, Decl(divergentAccessorsTypes4.ts, 2, 35))
26 get prop2(): string { return ""; }
27 >prop2 : Symbol(Two.prop2, Decl(divergentAccessorsTypes4.ts, 9, 36), Decl(divergentAccessorsTypes4.…
29 set prop2(s: string | 42) { }
30 >prop2 : Symbol(Two.prop2, Decl(divergentAccessorsTypes4.ts, 9, 36), Decl(divergentAccessorsTypes4.…
58 i.prop2;
59 >i.prop2 : Symbol(prop2, Decl(divergentAccessorsTypes4.ts, 2, 35), Decl(divergentAccessorsTypes4.ts…
61 >prop2 : Symbol(prop2, Decl(divergentAccessorsTypes4.ts, 2, 35), Decl(divergentAccessorsTypes4.ts, …
64 i.prop2 = 42;
[all …]
DdivergentAccessorsTypes5.symbols15 prop2: number;
16 >prop2 : Symbol(One.prop2, Decl(divergentAccessorsTypes5.ts, 5, 35))
29 get prop2(): string { return ""; }
30 >prop2 : Symbol(Two.prop2, Decl(divergentAccessorsTypes5.ts, 12, 36), Decl(divergentAccessorsTypes5…
32 set prop2(s: string | 42) { }
33 >prop2 : Symbol(Two.prop2, Decl(divergentAccessorsTypes5.ts, 12, 36), Decl(divergentAccessorsTypes5…
48 get prop2(): string { return ""; }
49 >prop2 : Symbol(Three.prop2, Decl(divergentAccessorsTypes5.ts, 21, 37), Decl(divergentAccessorsType…
51 set prop2(s: string | number | boolean) { }
52 >prop2 : Symbol(Three.prop2, Decl(divergentAccessorsTypes5.ts, 21, 37), Decl(divergentAccessorsType…
[all …]
DdivergentAccessorsTypes3.types13 get prop2(): string { return ""; }
14 >prop2 : string
17 set prop2(s: string | number) { }
18 >prop2 : string
44 get prop2(): string { return ""; }
45 >prop2 : string
48 set prop2(s: string) { }
49 >prop2 : string
86 u1.prop2 = 42;
87 >u1.prop2 = 42 : 42
[all …]
DdivergentAccessorsTypes4.js6 prop2: number;
13 get prop2(): string { return ""; }
14 set prop2(s: string | 42) { }
27 i.prop2;
29 i.prop2 = 42;
30 i.prop2 = "hello"; // error
68 i.prop2;
70 i.prop2 = 42;
71 i.prop2 = "hello"; // error
DdivergentAccessorsTypes5.js9 prop2: number;
16 get prop2(): string { return ""; }
17 set prop2(s: string | 42) { }
25 get prop2(): string { return ""; }
26 set prop2(s: string | number | boolean) { }
36 i.prop2 = 42;
37 i.prop2 = "hello"; // error
92 i.prop2 = 42;
93 i.prop2 = "hello"; // error
DcollisionSuperAndLocalVarInAccessors.symbols28 get prop2(): number {
29 >prop2 : Symbol(b.prop2, Decl(collisionSuperAndLocalVarInAccessors.ts, 10, 21), Decl(collisionSuper…
36 set prop2(val: number) {
37 >prop2 : Symbol(b.prop2, Decl(collisionSuperAndLocalVarInAccessors.ts, 10, 21), Decl(collisionSuper…
48 get prop2(): number {
49 >prop2 : Symbol(c.prop2, Decl(collisionSuperAndLocalVarInAccessors.ts, 19, 21), Decl(collisionSuper…
59 set prop2(val: number) {
60 >prop2 : Symbol(c.prop2, Decl(collisionSuperAndLocalVarInAccessors.ts, 19, 21), Decl(collisionSuper…
DcollisionSuperAndLocalFunctionInAccessors.symbols29 get prop2(): number {
30 >prop2 : Symbol(b.prop2, Decl(collisionSuperAndLocalFunctionInAccessors.ts, 13, 21), Decl(collision…
37 set prop2(val: number) {
38 >prop2 : Symbol(b.prop2, Decl(collisionSuperAndLocalFunctionInAccessors.ts, 13, 21), Decl(collision…
50 get prop2(): number {
51 >prop2 : Symbol(c.prop2, Decl(collisionSuperAndLocalFunctionInAccessors.ts, 24, 21), Decl(collision…
62 set prop2(val: number) {
63 >prop2 : Symbol(c.prop2, Decl(collisionSuperAndLocalFunctionInAccessors.ts, 24, 21), Decl(collision…
DdivergentAccessorsTypes3.symbols12 get prop2(): string { return ""; }
13 >prop2 : Symbol(One.prop2, Decl(divergentAccessorsTypes3.ts, 2, 35), Decl(divergentAccessorsTypes3.…
15 set prop2(s: string | number) { }
16 >prop2 : Symbol(One.prop2, Decl(divergentAccessorsTypes3.ts, 2, 35), Decl(divergentAccessorsTypes3.…
40 get prop2(): string { return ""; }
41 >prop2 : Symbol(Two.prop2, Decl(divergentAccessorsTypes3.ts, 15, 35), Decl(divergentAccessorsTypes3…
43 set prop2(s: string) { }
44 >prop2 : Symbol(Two.prop2, Decl(divergentAccessorsTypes3.ts, 15, 35), Decl(divergentAccessorsTypes3…
77 u1.prop2 = 42;
78 >u1.prop2 : Symbol(prop2, Decl(divergentAccessorsTypes3.ts, 2, 35), Decl(divergentAccessorsTypes3.t…
[all …]
DcollisionSuperAndLocalFunctionInAccessors.types30 get prop2(): number {
31 >prop2 : number
39 set prop2(val: number) {
40 >prop2 : number
52 get prop2(): number {
53 >prop2 : number
66 set prop2(val: number) {
67 >prop2 : number
DcollisionSuperAndLocalVarInAccessors.types32 get prop2(): number {
33 >prop2 : number
42 set prop2(val: number) {
43 >prop2 : number
55 get prop2(): number {
56 >prop2 : number
69 set prop2(val: number) {
70 >prop2 : number
DdivergentAccessorsTypes3.js6 get prop2(): string { return ""; }
7 set prop2(s: string | number) { }
19 get prop2(): string { return ""; }
20 set prop2(s: string) { }
34 u1.prop2 = 42;
35 u1.prop2 = "hello";
101 u1.prop2 = 42;
102 u1.prop2 = "hello";
DdivergentAccessorsTypes5.errors.txt13 prop2: number;
20 get prop2(): string { return ""; }
21 set prop2(s: string | 42) { }
29 get prop2(): string { return ""; }
30 set prop2(s: string | number | boolean) { }
42 i.prop2 = 42;
43 i.prop2 = "hello"; // error
DobjectLiteralThisWidenedOnUse.types6 >GlobalIns : { prop1: number; prop2: number; prop3: number; test(): void; accept_foo(foo: Foo): boo…
7prop2: 2, prop3: 3, test () { this.accept_foo(this); }, accept_foo (foo: Foo): boolean { …
13 prop2: 2,
14 >prop2 : number
27 >this : { prop1: number; prop2: number; prop3: number; test(): void; accept_foo(foo: Foo): boolean;…
29 >this : { prop1: number; prop2: number; prop3: number; test(): void; accept_foo(foo: Foo): boolean;…
DdestructuredLateBoundNameHasCorrectTypes.types28 const notPresent = "prop2";
29 >notPresent : "prop2"
30 >"prop2" : "prop2"
33 >notPresent : "prop2"
35 >{ prop: "b" } : { prop: string; prop2: any; }
DdivergentAccessorsTypes4.errors.txt9 prop2: number;
16 get prop2(): string { return ""; }
17 set prop2(s: string | 42) { }
30 i.prop2;
32 i.prop2 = 42;
33 i.prop2 = "hello"; // error
DtypeGuardsOnClassProperty.types61 >o : { prop1: number | string; prop2: boolean | string; }
66 prop2: boolean|string;
67 >prop2 : string | boolean
70 >{ prop1: "string" , prop2: true } : { prop1: string; prop2: true; }
76 prop2: true
77 >prop2 : true
86 >o : { prop1: string | number; prop2: string | boolean; }
92 >o : { prop1: string | number; prop2: string | boolean; }
99 >o : { prop1: string | number; prop2: string | boolean; }
DdeclarationEmitFirstTypeArgumentGenericFunctionType.js20 var prop2: Y<string[], <Tany>() => Tany>; // No space after second type argument
21 var prop2: Y<string[], <Tany>() => Tany>; // space after second type argument variable
45 var prop2; // No space after second type argument variable
46 var prop2; // space after second type argument variable
62 declare var prop2: Y<string[], <Tany>() => Tany>;
63 declare var prop2: Y<string[], <Tany>() => Tany>;
Des6ImportNamedImportWithTypesAndValues.js8 prop2: string;
14 prop2 = "world"; field in C2
35 this.prop2 = "world";
53 prop2: string;
59 prop2: string;
Des6ImportNamedImportWithTypesAndValues.symbols11 prop2: string;
12 >prop2 : Symbol(I2.prop2, Decl(server.ts, 3, 21))
25 prop2 = "world";
26 >prop2 : Symbol(C2.prop2, Decl(server.ts, 9, 31))
/third_party/typescript/tests/cases/compiler/
DdivergentAccessorsTypes5.ts10 prop2: number; property in One
17 get prop2(): string { return ""; } method in Two
18 set prop2(s: string | 42) { } method in Two
26 get prop2(): string { return ""; } method in Three
27 set prop2(s: string | number | boolean) { } method in Three
37 i.prop2 = 42;
38 i.prop2 = "hello"; // error
DdivergentAccessorsTypes4.ts7 prop2: number; property in One
14 get prop2(): string { return ""; } method in Two
15 set prop2(s: string | 42) { } method in Two
28 i.prop2;
30 i.prop2 = 42;
31 i.prop2 = "hello"; // error
DdivergentAccessorsTypes3.ts7 get prop2(): string { return ""; } method in One
8 set prop2(s: string | number) { } method in One
20 get prop2(): string { return ""; } method in Two
21 set prop2(s: string) { } method in Two
35 u1.prop2 = 42;
36 u1.prop2 = "hello";
DcollisionSuperAndLocalVarInAccessors.ts13 get prop2(): number { method in b
17 set prop2(val: number) { method in b
22 get prop2(): number { method in c
28 set prop2(val: number) { method in c

123456