/third_party/typescript/tests/baselines/reference/ |
D | moduleDuplicateIdentifiers.js | 13 export namespace FooBar { 17 export namespace FooBar { // Shouldn't error 46 exports.Utensils = exports.Pot = exports.Kettle = exports.FooBar = exports.Foo = void 0; 49 var FooBar; variable 50 (function (FooBar) { argument 51 FooBar.member1 = 2; 52 })(FooBar = exports.FooBar || (exports.FooBar = {})); 53 (function (FooBar) { argument 54 FooBar.member2 = 42; 55 })(FooBar = exports.FooBar || (exports.FooBar = {}));
|
D | mappedTypeIndexedAccess.symbols | 31 type FooBar = { 32 >FooBar : Symbol(FooBar, Decl(mappedTypeIndexedAccess.ts, 9, 33)) 43 let pair1: Pair<FooBar> = { 46 >FooBar : Symbol(FooBar, Decl(mappedTypeIndexedAccess.ts, 9, 33)) 57 let pair2: Pairs<FooBar>[keyof FooBar] = { 60 >FooBar : Symbol(FooBar, Decl(mappedTypeIndexedAccess.ts, 9, 33)) 61 >FooBar : Symbol(FooBar, Decl(mappedTypeIndexedAccess.ts, 9, 33))
|
D | mappedTypeIndexedAccess.types | 20 type FooBar = { 21 >FooBar : { foo: string; bar: number; } 32 let pair1: Pair<FooBar> = { 33 >pair1 : Pair<FooBar> 47 let pair2: Pairs<FooBar>[keyof FooBar] = {
|
D | moduleDuplicateIdentifiers.types | 20 export namespace FooBar { 21 >FooBar : typeof FooBar 28 export namespace FooBar { // Shouldn't error 29 >FooBar : typeof FooBar
|
D | errorMessagesIntersectionTypes02.symbols | 16 interface FooBar extends Foo, Bar { 17 >FooBar : Symbol(FooBar, Decl(errorMessagesIntersectionTypes02.ts, 6, 1)) 30 let fooBar: FooBar = mixBar({ 32 >FooBar : Symbol(FooBar, Decl(errorMessagesIntersectionTypes02.ts, 6, 1))
|
D | errorMessagesIntersectionTypes01.symbols | 16 interface FooBar extends Foo, Bar { 17 >FooBar : Symbol(FooBar, Decl(errorMessagesIntersectionTypes01.ts, 6, 1)) 30 let fooBar: FooBar = mixBar({ 32 >FooBar : Symbol(FooBar, Decl(errorMessagesIntersectionTypes01.ts, 6, 1))
|
D | computedTypesKeyofNoIndexSignatureType.symbols | 56 type FooBar = { foo: "hello"; bar: "world"; }; 57 >FooBar : Symbol(FooBar, Decl(computedTypesKeyofNoIndexSignatureType.ts, 11, 47)) 61 type WithIndex = Compute<FooBar & IndexObject>; // { [x: string]: {}; foo: "hello"; bar: "world";… 64 >FooBar : Symbol(FooBar, Decl(computedTypesKeyofNoIndexSignatureType.ts, 11, 47)) 72 type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK 74 >FooBar : Symbol(FooBar, Decl(computedTypesKeyofNoIndexSignatureType.ts, 11, 47))
|
D | mappedTypeIndexedAccess.errors.txt | 1 …8,5): error TS2322: Type '{ key: "foo"; value: number; }' is not assignable to type 'Pair<FooBar>'. 21 type FooBar = { 27 let pair1: Pair<FooBar> = { 29 !!! error TS2322: Type '{ key: "foo"; value: number; }' is not assignable to type 'Pair<FooBar>'. 37 let pair2: Pairs<FooBar>[keyof FooBar] = {
|
D | mappedTypeIndexedAccess.js | 13 type FooBar = { 19 let pair1: Pair<FooBar> = { 25 let pair2: Pairs<FooBar>[keyof FooBar] = {
|
D | moduleDuplicateIdentifiers.symbols | 22 export namespace FooBar { 23 >FooBar : Symbol(FooBar, Decl(moduleDuplicateIdentifiers.ts, 9, 1), Decl(moduleDuplicateIdentifiers… 29 export namespace FooBar { // Shouldn't error 30 >FooBar : Symbol(FooBar, Decl(moduleDuplicateIdentifiers.ts, 9, 1), Decl(moduleDuplicateIdentifiers…
|
D | errorMessagesIntersectionTypes01.errors.txt | 1 …pes01.ts(14,5): error TS2322: Type '{ fooProp: string; } & Bar' is not assignable to type 'FooBar'. 15 interface FooBar extends Foo, Bar { 20 let fooBar: FooBar = mixBar({ 22 !!! error TS2322: Type '{ fooProp: string; } & Bar' is not assignable to type 'FooBar'.
|
D | errorMessagesIntersectionTypes02.errors.txt | 1 …14,5): error TS2322: Type '{ fooProp: "frizzlebizzle"; } & Bar' is not assignable to type 'FooBar'. 15 interface FooBar extends Foo, Bar { 20 let fooBar: FooBar = mixBar({ 22 !!! error TS2322: Type '{ fooProp: "frizzlebizzle"; } & Bar' is not assignable to type 'FooBar'.
|
D | discriminatedUnionInference.symbols | 16 type FooBar<A> = Foo<A> | Bar<A>; 17 >FooBar : Symbol(FooBar, Decl(discriminatedUnionInference.ts, 3, 37)) 24 type InferA<T> = T extends FooBar<infer A> ? A : never; 28 >FooBar : Symbol(FooBar, Decl(discriminatedUnionInference.ts, 3, 37))
|
D | computedTypesKeyofNoIndexSignatureType.types | 24 type FooBar = { foo: "hello"; bar: "world"; }; 25 >FooBar : { foo: "hello"; bar: "world"; } 29 type WithIndex = Compute<FooBar & IndexObject>; // { [x: string]: {}; foo: "hello"; bar: "world";… 35 type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK 36 >FooBarKey : keyof FooBar
|
D | discriminatedUnionInference.types | 12 type FooBar<A> = Foo<A> | Bar<A>; 13 >FooBar : FooBar<A> 15 type InferA<T> = T extends FooBar<infer A> ? A : never;
|
D | errorMessagesIntersectionTypes01.types | 12 interface FooBar extends Foo, Bar { 19 let fooBar: FooBar = mixBar({ 20 >fooBar : FooBar
|
D | errorMessagesIntersectionTypes02.types | 12 interface FooBar extends Foo, Bar { 19 let fooBar: FooBar = mixBar({ 20 >fooBar : FooBar
|
D | intersectionTypeNormalization.types | 222 type FooBar = Foo & Bar; 223 >FooBar : Foo & Bar 229 const val = so as FooBar; 230 >val : FooBar 231 >so as FooBar : FooBar 237 >val : FooBar
|
D | computedTypesKeyofNoIndexSignatureType.js | 14 type FooBar = { foo: "hello"; bar: "world"; }; 16 type WithIndex = Compute<FooBar & IndexObject>; // { [x: string]: {}; foo: "hello"; bar: "world";… 19 type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK
|
D | systemNamespaceAliasEmit.symbols | 19 export {ns, AnEnum, ns as FooBar, AnEnum as BarEnum}; 23 >FooBar : Symbol(FooBar, Decl(systemNamespaceAliasEmit.ts, 9, 19))
|
/third_party/typescript/tests/cases/compiler/ |
D | mappedTypeIndexedAccess.ts | 14 type FooBar = { alias 20 let pair1: Pair<FooBar> = { 26 let pair2: Pairs<FooBar>[keyof FooBar] = { variable
|
D | computedTypesKeyofNoIndexSignatureType.ts | 13 type FooBar = { foo: "hello"; bar: "world"; }; alias 15 type WithIndex = Compute<FooBar & IndexObject>; // { [x: string]: {}; foo: "hello"; bar: "world";… 18 type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK alias
|
D | errorMessagesIntersectionTypes01.ts | 9 interface FooBar extends Foo, Bar { interface 14 let fooBar: FooBar = mixBar({
|
D | errorMessagesIntersectionTypes02.ts | 9 interface FooBar extends Foo, Bar { interface 14 let fooBar: FooBar = mixBar({
|
/third_party/rust/crates/clap/tests/derive/ |
D | value_enum.rs | 188 FooBar, in multi_word_is_renamed_kebab() enumerator 200 arg: ArgChoice::FooBar in multi_word_is_renamed_kebab() 218 FooBar, in variant_with_defined_casing() enumerator 229 arg: ArgChoice::FooBar in variant_with_defined_casing() 241 FooBar, in casing_is_propagated_from_parent() enumerator 252 arg: ArgChoice::FooBar in casing_is_propagated_from_parent() 265 FooBar, in casing_propagation_is_overridden() enumerator 276 arg: ArgChoice::FooBar in casing_propagation_is_overridden()
|