TypeScript/tests/baselines/reference/typeInferenceConflictingCandidates.errors.txt
Anders Hejlsberg fd5b80805e Accepting new baselines
The new baselines all look correct to me, but obviously a number of the
tests need to be updated to reflect union types and the new behavior of
best common type. This commit does not cover that.
2014-10-08 13:48:44 -07:00

9 lines
No EOL
418 B
Text

tests/cases/compiler/typeInferenceConflictingCandidates.ts(3,1): error TS2346: Supplied parameters do not match any signature of call target.
==== tests/cases/compiler/typeInferenceConflictingCandidates.ts (1 errors) ====
declare function g<T>(a: T, b: T, c: (t: T) => T): T;
g("", 3, a => a);
~~~~~~~~~~~~~~~~
!!! error TS2346: Supplied parameters do not match any signature of call target.