TypeScript/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.errors.txt
2014-12-08 15:47:24 -08:00

10 lines
462 B
Plaintext

tests/cases/conformance/parser/ecmascript5/Generics/parserAmbiguityWithBinaryOperator4.ts(3,9): error TS2347: Untyped function calls may not accept type arguments.
==== tests/cases/conformance/parser/ecmascript5/Generics/parserAmbiguityWithBinaryOperator4.ts (1 errors) ====
function g() {
var a, b, c;
if (a<b, b>(c + 1)) { }
~~~~~~~~~~~~~~
!!! error TS2347: Untyped function calls may not accept type arguments.
}