==== tests/cases/compiler/grammarAmbiguities1.ts (8 errors) ====
    class A { foo() { } }
    class B { bar() { }}
    function f(x) { return x; }
    function g<T, U>(x) { return f(x); }
    g<A, B>(7)
    
    f(g<A, B>(7));
    f(g < A, B > 7);
    ~
!!! grammarAmbiguities1.ts(8,1): error TS2081: Supplied parameters do not match any signature of call target.
    ~
!!! grammarAmbiguities1.ts(8,1): error TS2087: Could not select overload for 'call' expression.
      ~~~~~
!!! grammarAmbiguities1.ts(8,3): error TS2009: Operator '<' cannot be applied to types 'typeof g' and 'typeof A'.
             ~~~~~
!!! grammarAmbiguities1.ts(8,10): error TS2009: Operator '>' cannot be applied to types 'typeof B' and 'number'.
    f(g < A, B > +(7));
    ~
!!! grammarAmbiguities1.ts(9,1): error TS2081: Supplied parameters do not match any signature of call target.
    ~
!!! grammarAmbiguities1.ts(9,1): error TS2087: Could not select overload for 'call' expression.
      ~~~~~
!!! grammarAmbiguities1.ts(9,3): error TS2009: Operator '<' cannot be applied to types 'typeof g' and 'typeof A'.
             ~~~~~~~~
!!! grammarAmbiguities1.ts(9,10): error TS2009: Operator '>' cannot be applied to types 'typeof B' and 'number'.
    