Home
last modified time | relevance | path

Searched refs:FooBar (Results 1 – 25 of 59) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DmoduleDuplicateIdentifiers.js13 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 = {}));
DmappedTypeIndexedAccess.symbols31 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))
DmappedTypeIndexedAccess.types20 type FooBar = {
21 >FooBar : FooBar
32 let pair1: Pair<FooBar> = {
33 >pair1 : Pair<FooBar>
47 let pair2: Pairs<FooBar>[keyof FooBar] = {
DmoduleDuplicateIdentifiers.types20 export namespace FooBar {
21 >FooBar : typeof FooBar
28 export namespace FooBar { // Shouldn't error
29 >FooBar : typeof FooBar
DerrorMessagesIntersectionTypes02.symbols16 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))
DerrorMessagesIntersectionTypes01.symbols16 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))
DmappedTypeIndexedAccess.js13 type FooBar = {
19 let pair1: Pair<FooBar> = {
25 let pair2: Pairs<FooBar>[keyof FooBar] = {
DmappedTypeIndexedAccess.errors.txt1 …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] = {
DcomputedTypesKeyofNoIndexSignatureType.symbols56 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))
DmoduleDuplicateIdentifiers.symbols22 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…
DerrorMessagesIntersectionTypes01.errors.txt1 …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'.
DcomputedTypesKeyofNoIndexSignatureType.types24 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
DerrorMessagesIntersectionTypes02.errors.txt1 …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'.
DintersectionTypeNormalization.types222 type FooBar = Foo & Bar;
223 >FooBar : FooBar
229 const val = so as FooBar;
230 >val : FooBar
231 >so as FooBar : FooBar
237 >val : FooBar
DdiscriminatedUnionInference.symbols16 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))
DerrorMessagesIntersectionTypes01.types12 interface FooBar extends Foo, Bar {
19 let fooBar: FooBar = mixBar({
20 >fooBar : FooBar
DdiscriminatedUnionInference.types12 type FooBar<A> = Foo<A> | Bar<A>;
13 >FooBar : FooBar<A>
15 type InferA<T> = T extends FooBar<infer A> ? A : never;
DerrorMessagesIntersectionTypes02.types12 interface FooBar extends Foo, Bar {
19 let fooBar: FooBar = mixBar({
20 >fooBar : FooBar
DcomputedTypesKeyofNoIndexSignatureType.js14 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
DsystemNamespaceAliasEmit.symbols19 export {ns, AnEnum, ns as FooBar, AnEnum as BarEnum};
23 >FooBar : Symbol(FooBar, Decl(systemNamespaceAliasEmit.ts, 9, 19))
/third_party/boost/libs/assign/test/
Dptr_list_inserter.cpp42 struct FooBar : Foo struct
44 FooBar( int i ) : Foo(i) in FooBar() argument
47 FooBar( int i, const char* ) in FooBar() argument
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/
DmappedTypeIndexedAccess.ts14 type FooBar = { alias
20 let pair1: Pair<FooBar> = {
26 let pair2: Pairs<FooBar>[keyof FooBar] = { variable
DcomputedTypesKeyofNoIndexSignatureType.ts13 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
DerrorMessagesIntersectionTypes02.ts9 interface FooBar extends Foo, Bar { interface
14 let fooBar: FooBar = mixBar({
DerrorMessagesIntersectionTypes01.ts9 interface FooBar extends Foo, Bar { interface
14 let fooBar: FooBar = mixBar({

123