Home
last modified time | relevance | path

Searched defs:foo2 (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/third_party/typescript/tests/cases/conformance/types/typeRelationships/subtypesAndSuperTypes/
DunionSubtypeIfEveryConstituentTypeIsSubtype.ts10 foo2: e | number; // ok property
16 foo2: e | number; // ok e and number both subtype of number property
22 foo2: e | number; // error e and number both not subtype of string property
29 foo2: e | number; property
36 foo2: e | number; property
43 foo2: e | number; property
50 foo2: e | number; property
57 foo2: e | number; property
64 foo2: e | number; property
71 foo2: e | number; property
[all …]
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/
DtypeParametersAreIdenticalToThemselves.ts7 function foo2<T, U>(x: T); function
26 foo2<U>(a: T, x: U); method in C
44 foo2<U>(a: T, x: U); method in C2
57 foo2<U>(a: T, x: U); method
58 foo2<U>(a: T, x: U); // no error, different declaration for each U method
71 foo2<U>(a: T, x: U); method
72 foo2<U>(a: T, x: U); // no error, different declaration for each U method
/third_party/rust/rust/src/tools/clippy/tests/ui-toml/module_inception/
Dmodule_inception.rs4 pub mod foo2 { module
7 pub mod foo2 {} module
9 pub mod foo2 {} module
11 pub mod foo2 { module
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dmodule_inception.rs3 pub mod foo2 { module
6 pub mod foo2 {} module
8 pub mod foo2 {} module
10 pub mod foo2 { module
/third_party/typescript/tests/cases/compiler/
DcomputedPropertiesInDestructuring1_ES6.ts9 let foo2 = () => "bar"; variable
10 let {[foo2()]: bar3} = {bar: "bar"}; variable
13 let [{[foo2()]: bar5}] = [{bar: "bar"}]; variable
DcomputedPropertiesInDestructuring1.ts7 let foo2 = () => "bar"; variable
8 let {[foo2()]: bar3} = {bar: "bar"}; variable
11 let [{[foo2()]: bar5}] = [{bar: "bar"}]; variable
DcomputedPropertiesInDestructuring2.ts1 let foo2 = () => "bar"; variable
2 let {[foo2()]: bar3} = {}; variable
DcomputedPropertiesInDestructuring2_ES6.ts3 let foo2 = () => "bar"; variable
4 let {[foo2()]: bar3} = {}; variable
DfunctionOverloads44.ts11 function foo2(bar: { a:number }[]): Cat; function
13 function foo2([x]: { a:number | string }[]): Cat { function
/third_party/typescript/tests/baselines/reference/
DyieldExpressionInnerCommentEmit.js2 function * foo2() { generator
12 function* foo2() { generator
DcollisionCodeGenModuleWithModuleReopening.js13 var foo2 = new m1.c1(); variable
30 var foo2 = new m2.m2(); variable
53 var foo2 = new m1.c1(); variable
78 var foo2 = new m2.m2(); variable
DparserIndexSignature8.js3 var foo2: { [index: RegExp]; }; // expect an error here variable
8 var foo2; // expect an error here variable
DcallSignatureFunctionOverload.js9 var foo2: { variable
19 var foo2; variable
DcallSignaturesWithOptionalParameters2.js12 function foo2(x: number, y?: number) { } function
23 foo2(x: number, y?: number) { } method in C
74 C.prototype.foo2 = function (x, y) { }; method in C
DnullishCoalescingOperator7.js7 const foo2 = a ?? 'foo' ? 1 : 2; constant
18 var foo2 = (a !== null && a !== void 0 ? a : 'foo') ? 1 : 2; variable
DoptionalProperties01.js9 const foo2 = { required1: "hello", optional: "bar" } as Foo; variable
14 var foo2 = { required1: "hello", optional: "bar" }; variable
DpropertySignatures.js6 var foo2: { a; }; variable
27 var foo2; variable
DpropertyAssignment.js5 var foo2: { [index]; } // should be an error, used to be indexer, now it is a computed property variable
20 var foo2; // should be an error, used to be indexer, now it is a computed property variable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/tests/
Drecord.rs180 let foo2 = Foo { thing, ..$0 } in in_functional_update() localVariable
208 let foo2 = Foo { thing, ..Default::$0 } in in_functional_update() localVariable
232 let foo2 = Foo { thing, $0 } in functional_update_no_dot() localVariable
257 let foo2 = Foo { thing, .$0 } in functional_update_one_dot() localVariable
/third_party/rust/rust/src/tools/rustfmt/tests/target/
Dissue-4020.rs9 const foo2: u32 = 0; constant
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/callSignatures/
DcallSignaturesWithAccessibilityModifiersOnParameters.ts9 function foo2(private x: string, public y: number) { } function
17 foo2(public x: number, private y: string) { } method in C
31 foo2(private x: number, public y: string); variable
DcallSignaturesWithDuplicateParameters.ts9 function foo2(x: string, x: number) { } function
17 foo2(x: number, x: string) { } method in C
31 foo2(x: number, x: string); variable
DcallSignaturesWithOptionalParameters2.ts9 function foo2(x: number); function
20 foo2(x: number); method in C
/third_party/rust/rust/tests/ui/nll/
Dissue-54302-cases.rs20 fn foo2(self) -> &'x T; in foo2() method
26 fn foo2(self) -> &'x u32 { self } in foo2() method
32 fn foo2(self) -> &'x i32 { self } in foo2() method
39 fn foo2(self) -> &'x u64 { self.coerce() } in foo2() function
46 fn foo2(self) -> &'x i64 { self.coerce() } in foo2() function
/third_party/rust/rust/tests/ui/cfg/
Dcfgs-on-items.rs11 fn foo2() -> isize { 2 } in foo2() function
15 fn foo2() -> isize { 3 } in foo2() function

12345678910>>...23