/third_party/typescript/tests/baselines/reference/ |
D | overloadResolutionClassConstructors.js | 92 class fn5 { class 97 new fn5((n) => n.toFixed()); 98 new fn5((n) => n.substr(0)); 99 new fn5((n) => n.blah); // Error 204 var fn5 = /** @class */ (function () { function 205 function fn5() { function 208 return fn5; 210 new fn5(function (n) { return n.toFixed(); }); 211 new fn5(function (n) { return n.substr(0); }); 212 new fn5(function (n) { return n.blah; }); // Error
|
D | taggedTemplateStringsWithOverloadResolution3_ES6.js | 67 function fn5(strs: TemplateStringsArray, f: (n: string) => void): string; 68 function fn5(strs: TemplateStringsArray, f: (n: number) => void): number; 69 function fn5() { return undefined; } function 70 fn5 `${ (n) => n.toFixed() }`; // will error; 'n' should have type 'string'. 71 fn5 `${ (n) => n.substr(0) }`; 111 function fn5() { return undefined; } 112 fn5 `${(n) => n.toFixed()}`; // will error; 'n' should have type 'string'. 113 fn5 `${(n) => n.substr(0)}`;
|
D | overloadResolutionClassConstructors.types | 246 class fn5 { 247 >fn5 : fn5 260 new fn5((n) => n.toFixed()); 261 >new fn5((n) => n.toFixed()) : fn5 262 >fn5 : typeof fn5 270 new fn5((n) => n.substr(0)); 271 >new fn5((n) => n.substr(0)) : fn5 272 >fn5 : typeof fn5 281 new fn5((n) => n.blah); // Error 282 >new fn5((n) => n.blah) : fn5 [all …]
|
D | taggedTemplateStringsWithOverloadResolution3.js | 67 function fn5(strs: TemplateStringsArray, f: (n: string) => void): string; 68 function fn5(strs: TemplateStringsArray, f: (n: number) => void): number; 69 function fn5() { return undefined; } function 70 fn5 `${ (n) => n.toFixed() }`; // will error; 'n' should have type 'string'. 71 fn5 `${ (n) => n.substr(0) }`; 115 function fn5() { return undefined; } 116 fn5(__makeTemplateObject(["", ""], ["", ""]), function (n) { return n.toFixed(); }); // will error;… 117 fn5(__makeTemplateObject(["", ""], ["", ""]), function (n) { return n.substr(0); });
|
D | functionNameConflicts.symbols | 36 function fn5() { } 37 >fn5 : Symbol(fn5, Decl(functionNameConflicts.ts, 16, 22)) 39 var fn5; 40 >fn5 : Symbol(fn5, Decl(functionNameConflicts.ts, 19, 7))
|
D | overloadResolution.js | 89 function fn5(f: (n: string) => void): string; 90 function fn5(f: (n: number) => void): number; 91 function fn5() { return undefined; } function 92 var n = fn5((n) => n.toFixed()); 93 var s = fn5((n) => n.substr(0)); 179 function fn5() { return undefined; } 180 var n = fn5(function (n) { return n.toFixed(); }); 181 var s = fn5(function (n) { return n.substr(0); });
|
D | overloadResolutionConstructors.js | 96 interface fn5 { 100 var fn5: fn5; variable 101 var n = new fn5((n) => n.toFixed()); 102 var s = new fn5((n) => n.substr(0)); 188 var fn5; variable 189 var n = new fn5(function (n) { return n.toFixed(); }); 190 var s = new fn5(function (n) { return n.substr(0); });
|
D | functionOverloadErrorsSyntax.symbols | 21 function fn5(x: string, ...y: any[], z: string); 22 >fn5 : Symbol(fn5, Decl(functionOverloadErrorsSyntax.ts, 5, 19), Decl(functionOverloadErrorsSyntax.… 27 function fn5() { } 28 >fn5 : Symbol(fn5, Decl(functionOverloadErrorsSyntax.ts, 5, 19), Decl(functionOverloadErrorsSyntax.…
|
D | functionNameConflicts.js | 20 function fn5() { } function 21 var fn5; 45 function fn5() { } 46 var fn5;
|
D | typeArgInferenceWithNull.js | 7 function fn5<T extends { x: string }>(n: T) { } 8 fn5({ x: null }); 18 function fn5(n) { } function 19 fn5({ x: null });
|
D | typeArgInferenceWithNull.symbols | 13 function fn5<T extends { x: string }>(n: T) { } 14 >fn5 : Symbol(fn5, Decl(typeArgInferenceWithNull.ts, 3, 10)) 20 fn5({ x: null }); 21 >fn5 : Symbol(fn5, Decl(typeArgInferenceWithNull.ts, 3, 10))
|
D | functionNameConflicts.errors.txt | 9 …es/conformance/functions/functionNameConflicts.ts(19,14): error TS2300: Duplicate identifier 'fn5'. 10 …ses/conformance/functions/functionNameConflicts.ts(20,9): error TS2300: Duplicate identifier 'fn5'. 49 function fn5() { } 51 !!! error TS2300: Duplicate identifier 'fn5'. 52 var fn5; 54 !!! error TS2300: Duplicate identifier 'fn5'.
|
D | overloadResolutionConstructors.types | 258 interface fn5 { 267 var fn5: fn5; 268 >fn5 : fn5 270 var n = new fn5((n) => n.toFixed()); 272 >new fn5((n) => n.toFixed()) : string 273 >fn5 : fn5 281 var s = new fn5((n) => n.substr(0)); 283 >new fn5((n) => n.substr(0)) : string 284 >fn5 : fn5
|
D | functionNameConflicts.types | 36 function fn5() { } 37 >fn5 : () => void 39 var fn5; 40 >fn5 : any
|
D | typeArgInferenceWithNull.types | 13 function fn5<T extends { x: string }>(n: T) { } 14 >fn5 : <T extends { x: string; }>(n: T) => void 18 fn5({ x: null }); 19 >fn5({ x: null }) : void 20 >fn5 : <T extends { x: string; }>(n: T) => void
|
D | functionOverloadErrorsSyntax.types | 21 function fn5(x: string, ...y: any[], z: string); 22 >fn5 : (x: string, ...y: any[], z: string) => any 27 function fn5() { } 28 >fn5 : (x: string, ...y: any[], z: string) => any
|
D | functionOverloadErrorsSyntax.js | 10 function fn5(x: string, ...y: any[], z: string); 11 function fn5() { } function 17 function fn5() { }
|
D | witness.js | 101 function fn5() { function 103 return new a(fn5); 105 var fn5r = fn5(); // fn5r: should be 'any', but is 'number' 231 function fn5() { 233 return new a(fn5); 235 var fn5r = fn5(); // fn5r: should be 'any', but is 'number'
|
/third_party/boost/libs/algorithm/test/search_test_data/ |
D | 0002e.pat | 3 5+fm5+fn5+fn6Ofo5ujo5+fo5+fn6Ofo6Ojn6Ojn5+nn5+fn5+jn5+fo5+fo6Ojn 27 5+bn5+jn5ujn5+fn5+fo6Ofo6Ojn6Ofo6Ofn6Ojp5ufo6Ojo6ejn6efn6eno6ejo 50 5ufm5+fm5ebm5ubn5ujn5ubl5ubn5ufn5ufn5+fn6Ojn5+fn5+jn5+fm5ufm5+fo 51 5+fn5+nn5ufn5+bm6Ofm6Ojn5+jo6ejn6Ofp6Ojo5+jo6ejo6Ojn5+jp6ejo6Ojo 74 5+fm5ubn5+fn6Ofn5+fm5ufo5ubn5+bm5+fn5+fn5+fn5+jm6Ofn5ujn5+fn5+fn 75 6Ojo6Ojn6Ojn5+jo6Ofn6Ofo5+fn5+jo6Ofo5+jn5+jn5+jn5+jn6Ojo5+jo6Ono
|
/third_party/typescript/tests/cases/conformance/expressions/functionCalls/ |
D | overloadResolutionConstructors.ts | 95 interface fn5 { interface 99 var fn5: fn5; variable 100 var n = new fn5((n) => n.toFixed()); 101 var s = new fn5((n) => n.substr(0));
|
D | overloadResolution.ts | 88 function fn5(f: (n: string) => void): string; function 89 function fn5(f: (n: number) => void): number; 90 function fn5() { return undefined; } 91 var n = fn5((n) => n.toFixed()); 92 var s = fn5((n) => n.substr(0));
|
D | overloadResolutionClassConstructors.ts | 91 class fn5 { class 96 new fn5((n) => n.toFixed()); 97 new fn5((n) => n.substr(0)); 98 new fn5((n) => n.blah); // Error
|
/third_party/typescript/tests/cases/conformance/es6/templates/ |
D | taggedTemplateStringsWithOverloadResolution3_ES6.ts | 67 function fn5(strs: TemplateStringsArray, f: (n: string) => void): string; function 68 function fn5(strs: TemplateStringsArray, f: (n: number) => void): number; 69 function fn5() { return undefined; } 70 fn5 `${ (n) => n.toFixed() }`; // will error; 'n' should have type 'string'. 71 fn5 `${ (n) => n.substr(0) }`;
|
D | taggedTemplateStringsWithOverloadResolution3.ts | 67 function fn5(strs: TemplateStringsArray, f: (n: string) => void): string; function 68 function fn5(strs: TemplateStringsArray, f: (n: number) => void): number; 69 function fn5() { return undefined; } 70 fn5 `${ (n) => n.toFixed() }`; // will error; 'n' should have type 'string'. 71 fn5 `${ (n) => n.substr(0) }`;
|
/third_party/skia/resources/sksl/inliner/ |
D | ExponentialGrowth.sksl | 7 void fn5() { fn4(); fn4(); fn4(); } 8 void fn6() { fn5(); fn5(); fn5(); }
|