/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 : FooBar 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 | mappedTypeIndexedAccess.js | 13 type FooBar = { 19 let pair1: Pair<FooBar> = { 25 let pair2: Pairs<FooBar>[keyof FooBar] = {
|
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 | 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 | 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 | computedTypesKeyofNoIndexSignatureType.types | 24 type FooBar = { foo: "hello"; bar: "world"; }; 25 >FooBar : FooBar 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 | 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 | intersectionTypeNormalization.types | 222 type FooBar = Foo & Bar; 223 >FooBar : FooBar 229 const val = so as FooBar; 230 >val : FooBar 231 >so as FooBar : FooBar 237 >val : 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 | errorMessagesIntersectionTypes01.types | 12 interface FooBar extends Foo, Bar { 19 let fooBar: FooBar = mixBar({ 20 >fooBar : 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 | errorMessagesIntersectionTypes02.types | 12 interface FooBar extends Foo, Bar { 19 let fooBar: FooBar = mixBar({ 20 >fooBar : 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/boost/libs/assign/test/ |
D | ptr_list_inserter.cpp | 42 struct FooBar : Foo struct 44 FooBar( int i ) : Foo(i) in FooBar() argument 47 FooBar( int i, const char* ) in FooBar() function 77 ptr_push_back<FooBar>( deq )( 42, "42" ); in check_ptr_list_inserter() 79 BOOST_CHECK( typeid(deq[5u]) == typeid(FooBar) ); in check_ptr_list_inserter() 81 ptr_push_front<FooBar>( deq )( 42, "42" ); in check_ptr_list_inserter() 83 BOOST_CHECK( typeid(deq[0]) == typeid(FooBar) ); in check_ptr_list_inserter() 85 ptr_insert<FooBar>( a_set )( 4 ); in check_ptr_list_inserter() 87 BOOST_CHECK( typeid(*--a_set.end()) == typeid(FooBar) ); in check_ptr_list_inserter()
|
/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({
|