Home
last modified time | relevance | path

Searched refs:callb (Results 1 – 22 of 22) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DcontextualTypingOfLambdaReturnExpression.symbols2 function callb(lam: (l: number) => void);
3 >callb : Symbol(callb, Decl(contextualTypingOfLambdaReturnExpression.ts, 0, 0), Decl(contextualTypi…
7 function callb(lam: (n: string) => void);
8 >callb : Symbol(callb, Decl(contextualTypingOfLambdaReturnExpression.ts, 0, 0), Decl(contextualTypi…
12 function callb(a) { }
13 >callb : Symbol(callb, Decl(contextualTypingOfLambdaReturnExpression.ts, 0, 0), Decl(contextualTypi…
16 callb((a) => a.length); // Ok, we choose the second overload because the first one gave us an error…
17 >callb : Symbol(callb, Decl(contextualTypingOfLambdaReturnExpression.ts, 0, 0), Decl(contextualTypi…
21 callb((a) => { a.length; }); // Error, we picked the first overload and errored when type checking …
22 >callb : Symbol(callb, Decl(contextualTypingOfLambdaReturnExpression.ts, 0, 0), Decl(contextualTypi…
DcontextualTypingOfLambdaReturnExpression.js2 function callb(lam: (l: number) => void);
3 function callb(lam: (n: string) => void);
4 function callb(a) { } function
6 callb((a) => a.length); // Ok, we choose the second overload because the first one gave us an error…
7 callb((a) => { a.length; }); // Error, we picked the first overload and errored when type checking …
10 function callb(a) { }
11 callb(function (a) { return a.length; }); // Ok, we choose the second overload because the first on…
12 callb(function (a) { a.length; }); // Error, we picked the first overload and errored when type che…
DnoImplicitAnyWithOverloads.symbols11 function callb(lam: (l: A) => void);
12 >callb : Symbol(callb, Decl(noImplicitAnyWithOverloads.ts, 3, 15), Decl(noImplicitAnyWithOverloads.…
17 function callb(lam: (n: B) => void);
18 >callb : Symbol(callb, Decl(noImplicitAnyWithOverloads.ts, 3, 15), Decl(noImplicitAnyWithOverloads.…
23 function callb(a) { }
24 >callb : Symbol(callb, Decl(noImplicitAnyWithOverloads.ts, 3, 15), Decl(noImplicitAnyWithOverloads.…
27 callb((a) => { a.foo; }); // error, chose first overload
28 >callb : Symbol(callb, Decl(noImplicitAnyWithOverloads.ts, 3, 15), Decl(noImplicitAnyWithOverloads.…
DcontextualTypingOfLambdaReturnExpression.types2 function callb(lam: (l: number) => void);
3 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
7 function callb(lam: (n: string) => void);
8 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
12 function callb(a) { }
13 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
16 callb((a) => a.length); // Ok, we choose the second overload because the first one gave us an error…
17 >callb((a) => a.length) : any
18 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
25 callb((a) => { a.length; }); // Error, we picked the first overload and errored when type checking …
[all …]
DnoImplicitAnyWithOverloads.types8 function callb(lam: (l: A) => void);
9 >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; }
13 function callb(lam: (n: B) => void);
14 >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; }
18 function callb(a) { }
19 >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; }
22 callb((a) => { a.foo; }); // error, chose first overload
23 >callb((a) => { a.foo; }) : any
24 >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; }
DfunctionOverloadAmbiguity1.symbols2 function callb(lam: (l: number) => void );
3 >callb : Symbol(callb, Decl(functionOverloadAmbiguity1.ts, 0, 0), Decl(functionOverloadAmbiguity1.t…
7 function callb(lam: (n: string) => void );
8 >callb : Symbol(callb, Decl(functionOverloadAmbiguity1.ts, 0, 0), Decl(functionOverloadAmbiguity1.t…
12 function callb(a) { }
13 >callb : Symbol(callb, Decl(functionOverloadAmbiguity1.ts, 0, 0), Decl(functionOverloadAmbiguity1.t…
16 callb((a) => { a.length; } ); // error, chose first overload
17 >callb : Symbol(callb, Decl(functionOverloadAmbiguity1.ts, 0, 0), Decl(functionOverloadAmbiguity1.t…
DnoImplicitAnyWithOverloads.js7 function callb(lam: (l: A) => void);
8 function callb(lam: (n: B) => void);
9 function callb(a) { } function
10 callb((a) => { a.foo; }); // error, chose first overload
13 function callb(a) { }
14 callb(function (a) { a.foo; }); // error, chose first overload
DfunctionOverloadAmbiguity1.js2 function callb(lam: (l: number) => void );
3 function callb(lam: (n: string) => void );
4 function callb(a) { } function
5 callb((a) => { a.length; } ); // error, chose first overload
14 function callb(a) { }
15 callb(function (a) { a.length; }); // error, chose first overload
DnoImplicitAnyWithOverloads.errors.txt2 tests/cases/compiler/noImplicitAnyWithOverloads.ts(6,10): error TS7010: 'callb', which lacks return…
3 tests/cases/compiler/noImplicitAnyWithOverloads.ts(7,10): error TS7010: 'callb', which lacks return…
15 function callb(lam: (l: A) => void);
17 !!! error TS7010: 'callb', which lacks return-type annotation, implicitly has an 'any' return type.
18 function callb(lam: (n: B) => void);
20 !!! error TS7010: 'callb', which lacks return-type annotation, implicitly has an 'any' return type.
21 function callb(a) { }
24 callb((a) => { a.foo; }); // error, chose first overload
DfunctionOverloadAmbiguity1.types2 function callb(lam: (l: number) => void );
3 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
7 function callb(lam: (n: string) => void );
8 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
12 function callb(a) { }
13 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
16 callb((a) => { a.length; } ); // error, chose first overload
17 >callb((a) => { a.length; } ) : any
18 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
DfunctionAssignment.symbols77 function callb(lam:(l: number) => void );
78 >callb : Symbol(callb, Decl(functionAssignment.ts, 26, 19), Decl(functionAssignment.ts, 29, 41), De…
82 function callb(lam:(n: string)=>void);
83 >callb : Symbol(callb, Decl(functionAssignment.ts, 26, 19), Decl(functionAssignment.ts, 29, 41), De…
87 function callb(a) { }
88 >callb : Symbol(callb, Decl(functionAssignment.ts, 26, 19), Decl(functionAssignment.ts, 29, 41), De…
91 callb((a) =>{ a.length; });
92 >callb : Symbol(callb, Decl(functionAssignment.ts, 26, 19), Decl(functionAssignment.ts, 29, 41), De…
DfunctionAssignment.js31 function callb(lam:(l: number) => void );
32 function callb(lam:(n: string)=>void);
33 function callb(a) { } function
35 callb((a) =>{ a.length; });
55 function callb(a) { }
56 callb(function (a) { a.length; });
DfunctionAssignment.types84 function callb(lam:(l: number) => void );
85 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
89 function callb(lam:(n: string)=>void);
90 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
94 function callb(a) { }
95 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
98 callb((a) =>{ a.length; });
99 >callb((a) =>{ a.length; }) : any
100 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
DcontextualTypingOfLambdaReturnExpression.errors.txt6 function callb(lam: (l: number) => void);
7 function callb(lam: (n: string) => void);
8 function callb(a) { }
10callb((a) => a.length); // Ok, we choose the second overload because the first one gave us an erro…
13callb((a) => { a.length; }); // Error, we picked the first overload and errored when type checking…
DfunctionOverloadAmbiguity1.errors.txt5 function callb(lam: (l: number) => void );
6 function callb(lam: (n: string) => void );
7 function callb(a) { }
8 callb((a) => { a.length; } ); // error, chose first overload
DfunctionAssignment.errors.txt37 function callb(lam:(l: number) => void );
38 function callb(lam:(n: string)=>void);
39 function callb(a) { }
41 callb((a) =>{ a.length; });
/third_party/typescript/tests/cases/compiler/
DcontextualTypingOfLambdaReturnExpression.ts1 function callb(lam: (l: number) => void); function
2 function callb(lam: (n: string) => void);
3 function callb(a) { }
5 callb((a) => a.length); // Ok, we choose the second overload because the first one gave us an error…
6 callb((a) => { a.length; }); // Error, we picked the first overload and errored when type checking …
DnoImplicitAnyWithOverloads.ts7 function callb(lam: (l: A) => void); function
8 function callb(lam: (n: B) => void);
9 function callb(a) { }
10 callb((a) => { a.foo; }); // error, chose first overload
DfunctionOverloadAmbiguity1.ts1 function callb(lam: (l: number) => void ); function
2 function callb(lam: (n: string) => void );
3 function callb(a) { }
4 callb((a) => { a.length; } ); // error, chose first overload
DfunctionAssignment.ts30 function callb(lam:(l: number) => void ); function
31 function callb(lam:(n: string)=>void);
32 function callb(a) { }
34 callb((a) =>{ a.length; });
/third_party/jsframework/runtime/main/manage/event/
DcallbackIntercept.ts53 const callb = (msg: { method: string; arguments: any; }) => { constant
85 callb.__onlyPromise = callbLength <= 0;
88 args.push(callb);
90 args = [callb];
/third_party/openssl/apps/
Dx509.c35 static int callb(int ok, X509_STORE_CTX *ctx);
194 X509_STORE_set_verify_cb(ctx, callb); in x509_main()
1024 static int callb(int ok, X509_STORE_CTX *ctx) in callb() function