Home
last modified time | relevance | path

Searched refs:Two (Results 1 – 25 of 734) sorted by relevance

12345678910>>...30

/third_party/typescript/tests/baselines/reference/
DobjectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.types2 // Two call or construct signatures are considered identical when they have the same number of type…
10 class Two { foo: string }
11 >Two : Two
26 class B<T extends U, U extends Two> {
70 var b = { new<T extends U, U extends Two>(x: T, y: U) { return ''; } }; // not a construct signatur…
71 >b : { new<T extends U, U extends Two>(x: T, y: U): string; }
72 >{ new<T extends U, U extends Two>(x: T, y: U) { return ''; } } : { new<T extends U, U extends Two>…
73 >new : <T extends U, U extends Two>(x: T, y: U) => string
78 function foo1b(x: B<Two, Two>);
79 >foo1b : { (x: B<Two, Two>): any; (x: B<Two, Two>): any; }
[all …]
DobjectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.types2 // Two call or construct signatures are considered identical when they have the same number of type…
10 class Two { foo: string }
11 >Two : Two
36 class B<T extends U, U extends Two> {
86 var b = { foo<T extends U, U extends Two>(x: T, y: U) { return ''; } };
87 >b : { foo<T extends U, U extends Two>(x: T, y: U): string; }
88 >{ foo<T extends U, U extends Two>(x: T, y: U) { return ''; } } : { foo<T extends U, U extends Two>…
89 >foo : <T extends U, U extends Two>(x: T, y: U) => string
106 function foo1b(x: B<Two, Two>);
107 >foo1b : { (x: B<Two, Two>): any; (x: B<Two, Two>): any; }
[all …]
DprototypePropertyAssignmentMergeAcrossFiles2.types13 Ns.Two = function() {};
14 >Ns.Two = function() {} : typeof Two
15 >Ns.Two : typeof Two
17 >Two : typeof Two
18 >function() {} : typeof Two
33 Ns.Two.prototype = {
34 >Ns.Two.prototype = {} : {}
35 >Ns.Two.prototype : {}
36 >Ns.Two : typeof Two
38 >Two : typeof Two
[all …]
DimportsNotUsedAsValues_error.types9 export const enum C { One, Two }
12 >Two : C.Two
91 let c: D = C.Two;
93 >C.Two : C.Two
95 >Two : C.Two
97 let d: D.Two = C.Two;
98 >d : C.Two
100 >C.Two : C.Two
102 >Two : C.Two
109 >c : C.Two
[all …]
DobjectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.js7 class Two { foo: string } class
15 class B<T extends U, U extends Two> {
36 var b = { new<T extends U, U extends Two>(x: T, y: U) { return ''; } }; // not a construct signatur…
38 function foo1b(x: B<Two, Two>);
39 function foo1b(x: B<Two, Two>); // error
66 function foo8(x: B<Two, Two>);
70 function foo9(x: B<Two, Two>);
74 function foo10(x: B<Two, Two>);
78 function foo11(x: B<Two, Two>);
107 var Two = /** @class */ (function () {
[all …]
DobjectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.js7 class Two { foo: string } class
19 class B<T extends U, U extends Two> {
40 var b = { foo<T extends U, U extends Two>(x: T, y: U) { return ''; } };
46 function foo1b(x: B<Two, Two>);
47 function foo1b(x: B<Two, Two>); // error
67 function foo5(x: B<Two, Two>); // ok
90 function foo8(x: B<Two, Two>);
94 function foo9(x: B<Two, Two>);
98 function foo10(x: B<Two, Two>);
102 function foo11(x: B<Two, Two>);
[all …]
DprototypePropertyAssignmentMergeAcrossFiles2.symbols10 Ns.Two = function() {};
11 >Ns.Two : Symbol(Ns.Two, Decl(prototypePropertyAssignmentMergeAcrossFiles2.js, 1, 23), Decl(prototy…
13 >Two : Symbol(Ns.Two, Decl(prototypePropertyAssignmentMergeAcrossFiles2.js, 1, 23), Decl(prototypeP…
26 Ns.Two.prototype = {
27 >Ns.Two.prototype : Symbol(Ns.Two.prototype, Decl(prototypePropertyAssignmentMergeAcrossFiles2.js, …
28 >Ns.Two : Symbol(Ns.Two, Decl(prototypePropertyAssignmentMergeAcrossFiles2.js, 1, 23), Decl(prototy…
30 >Two : Symbol(Ns.Two, Decl(prototypePropertyAssignmentMergeAcrossFiles2.js, 1, 23), Decl(prototypeP…
31 >prototype : Symbol(Ns.Two.prototype, Decl(prototypePropertyAssignmentMergeAcrossFiles2.js, 6, 2))
45 * @type {Ns.Two}
DimportsNotUsedAsValues_error.symbols9 export const enum C { One, Two }
12 >Two : Symbol(C.Two, Decl(a.ts, 3, 26))
93 let c: D = C.Two;
96 >C.Two : Symbol(C.Two, Decl(a.ts, 3, 26))
98 >Two : Symbol(C.Two, Decl(a.ts, 3, 26))
100 let d: D.Two = C.Two;
103 >Two : Symbol(C.Two, Decl(a.ts, 3, 26))
104 >C.Two : Symbol(C.Two, Decl(a.ts, 3, 26))
106 >Two : Symbol(C.Two, Decl(a.ts, 3, 26))
123 let d: C.Two;
[all …]
DreturnTypeTypeArguments.js5 class Two<T, U>{ class
16 function A2(): Two { return null; }
19 function B1(): Two<number> { return null; }
25 A2(): Two { return null; }
28 B1(): Two<number> { return null; }
34 A2(): Two<T> { return null; }
37 B1(): Two<T> { return null; }
85 var Two = /** @class */ (function () {
86 function Two() { class in Two
88 return Two;
DobjectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.symbols2 // Two call or construct signatures are considered identical when they have the same number of type…
10 class Two { foo: string }
11 >Two : Symbol(Two, Decl(objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.ts…
12 >foo : Symbol(Two.foo, Decl(objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints…
40 class B<T extends U, U extends Two> {
45 >Two : Symbol(Two, Decl(objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.ts…
121 var b = { new<T extends U, U extends Two>(x: T, y: U) { return ''; } }; // not a construct signatur…
127 >Two : Symbol(Two, Decl(objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.ts…
133 function foo1b(x: B<Two, Two>);
137 >Two : Symbol(Two, Decl(objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.ts…
[all …]
DreturnTypeTypeArguments.symbols10 class Two<T, U>{
11 >Two : Symbol(Two, Decl(returnTypeTypeArguments.ts, 2, 1))
16 >value : Symbol(Two.value, Decl(returnTypeTypeArguments.ts, 3, 16))
20 >id : Symbol(Two.id, Decl(returnTypeTypeArguments.ts, 4, 13))
46 function A2(): Two { return null; }
48 >Two : Symbol(Two, Decl(returnTypeTypeArguments.ts, 2, 1))
54 function B1(): Two<number> { return null; }
56 >Two : Symbol(Two, Decl(returnTypeTypeArguments.ts, 2, 1))
73 A2(): Two { return null; }
75 >Two : Symbol(Two, Decl(returnTypeTypeArguments.ts, 2, 1))
[all …]
DobjectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.symbols2 // Two call or construct signatures are considered identical when they have the same number of type…
10 class Two { foo: string }
11 >Two : Symbol(Two, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.ts, 4, …
12 >foo : Symbol(Two.foo, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.ts,…
55 class B<T extends U, U extends Two> {
60 >Two : Symbol(Two, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.ts, 4, …
142 var b = { foo<T extends U, U extends Two>(x: T, y: U) { return ''; } };
148 >Two : Symbol(Two, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.ts, 4, …
168 function foo1b(x: B<Two, Two>);
172 >Two : Symbol(Two, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.ts, 4, …
[all …]
DreturnTypeTypeArguments.errors.txt2 tests/cases/compiler/returnTypeTypeArguments.ts(15,16): error TS2314: Generic type 'Two<T, U>' requ…
4 tests/cases/compiler/returnTypeTypeArguments.ts(18,16): error TS2314: Generic type 'Two<T, U>' requ…
8 tests/cases/compiler/returnTypeTypeArguments.ts(24,11): error TS2314: Generic type 'Two<T, U>' requ…
10 tests/cases/compiler/returnTypeTypeArguments.ts(27,11): error TS2314: Generic type 'Two<T, U>' requ…
13 tests/cases/compiler/returnTypeTypeArguments.ts(33,11): error TS2314: Generic type 'Two<T, U>' requ…
15 tests/cases/compiler/returnTypeTypeArguments.ts(36,11): error TS2314: Generic type 'Two<T, U>' requ…
44 class Two<T, U>{
57 function A2(): Two { return null; }
59 !!! error TS2314: Generic type 'Two<T, U>' requires 2 type argument(s).
64 function B1(): Two<number> { return null; }
[all …]
DreturnTypeTypeArguments.types8 class Two<T, U>{
9 >Two : Two<T, U>
34 function A2(): Two { return null; }
42 function B1(): Two<number> { return null; }
61 A2(): Two { return null; }
69 B1(): Two<number> { return null; }
85 A2(): Two<T> { return null; }
93 B1(): Two<T> { return null; }
DimportsNotUsedAsValues_error.js7 export const enum C { One, Two }
34 let c: D = C.Two;
35 let d: D.Two = C.Two;
41 let d: C.Two;
57 const enum K { One, Two }
DprototypePropertyAssignmentMergeAcrossFiles2.errors.txt2 …/cases/conformance/salsa/other.js(10,5): error TS2339: Property 'wat' does not exist on type 'Two'.
8 Ns.Two = function() {};
13 Ns.Two.prototype = {
25 * @type {Ns.Two}
30 !!! error TS2339: Property 'wat' does not exist on type 'Two'.
DassignmentCompatWithGenericCallSignaturesWithOptionalParameters.errors.txt4 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
7 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
12 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
15 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
19 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
23 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
27 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
31 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
34 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
38 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
[all …]
DunionTypeWithIndexSignature.types2 type Two = { foo: { bar: true }, baz: true } | { [s: string]: string };
3 >Two : Two
11 declare var u: Two
12 >u : Two
17 >u : Two
24 >u : Two
DconstructSignatureAssignabilityInInheritance6.errors.txt5 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
11 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
17 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
23 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
30 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
36 …Type '{ foo: T; }' is not assignable to type '{ foo: T; }'. Two different types with this name exi…
38 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
44 …Type '{ a: T; b: T; }' is not assignable to type '{ a: T; b: T; }'. Two different types with this …
46 …Type 'T' is not assignable to type 'T'. Two different types with this name exist, but they are unr…
82 !!! error TS2430: Type 'T' is not assignable to type 'T'. Two different types with this nam…
[all …]
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/
DobjectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.ts6 class Two { foo: string } class
14 class B<T extends U, U extends Two> {
35 var b = { new<T extends U, U extends Two>(x: T, y: U) { return ''; } }; // not a construct signatur…
37 function foo1b(x: B<Two, Two>);
38 function foo1b(x: B<Two, Two>); // error
65 function foo8(x: B<Two, Two>);
69 function foo9(x: B<Two, Two>);
73 function foo10(x: B<Two, Two>);
77 function foo11(x: B<Two, Two>);
DobjectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.ts6 class Two { foo: string } class
18 class B<T extends U, U extends Two> {
39 var b = { foo<T extends U, U extends Two>(x: T, y: U) { return ''; } };
45 function foo1b(x: B<Two, Two>);
46 function foo1b(x: B<Two, Two>); // error
66 function foo5(x: B<Two, Two>); // ok
89 function foo8(x: B<Two, Two>);
93 function foo9(x: B<Two, Two>);
97 function foo10(x: B<Two, Two>);
101 function foo11(x: B<Two, Two>);
/third_party/typescript/tests/cases/compiler/
DreturnTypeTypeArguments.ts4 class Two<T, U>{ class
15 function A2(): Two { return null; }
18 function B1(): Two<number> { return null; }
24 A2(): Two { return null; }
27 B1(): Two<number> { return null; }
33 A2(): Two<T> { return null; }
36 B1(): Two<T> { return null; }
/third_party/typescript/tests/cases/conformance/externalModules/typeOnly/
DimportsNotUsedAsValues_error.ts8 export const enum C { One, Two } enumerator
35 let c: D = C.Two;
36 let d: D.Two = C.Two;
42 let d: C.Two;
58 const enum K { One, Two } enumerator
/third_party/rust/crates/tracing/tracing-subscriber/tests/
Dreload.rs42 Two, in reload_handle() enumerator
55 Filter::Two => FILTER2_CALLS.fetch_add(1, Ordering::SeqCst), in reload_handle()
63 Filter::Two => Some(LevelFilter::DEBUG), in reload_handle()
82 handle.reload(Filter::Two).expect("should reload"); in reload_handle()
110 Two, in reload_filter() enumerator
118 Filter::Two => FILTER2_CALLS.fetch_add(1, Ordering::SeqCst), in reload_filter()
126 Filter::Two => Some(LevelFilter::DEBUG), in reload_filter()
147 handle.reload(Filter::Two).expect("should reload"); in reload_filter()
/third_party/flutter/flutter/packages/flutter/test/material/
Dpersistent_bottom_sheet_test.dart49 Container(height: 100.0, child: const Text('Two')),
60 expect(find.text('Two'), findsOneWidget);
62 await tester.drag(find.text('Two'), const Offset(0.0, 400.0));
65 expect(find.text('Two'), findsOneWidget);
84 Container(height: 100.0, child: const Text('Two')),
92 expect(find.text('Two'), findsOneWidget);
94 await tester.drag(find.text('Two'), const Offset(0.0, 400.0));
97 expect(find.text('Two'), findsNothing);
120 Container(height: 100.0, child: const Text('Two')),
131 expect(find.text('Two'), findsOneWidget);
[all …]

12345678910>>...30