21 lines
367 B
Text
21 lines
367 B
Text
|
=== tests/cases/conformance/parser/ecmascript5/Generics/parserAmbiguityWithBinaryOperator2.ts ===
|
||
|
function f() {
|
||
|
>f : () => void
|
||
|
|
||
|
var a, b, c;
|
||
|
>a : any
|
||
|
>b : any
|
||
|
>c : any
|
||
|
|
||
|
if (a < b && b > (c + 1)) { }
|
||
|
>a < b && b > (c + 1) : boolean
|
||
|
>a < b : boolean
|
||
|
>a : any
|
||
|
>b : any
|
||
|
>b > (c + 1) : boolean
|
||
|
>b : any
|
||
|
>(c + 1) : any
|
||
|
>c + 1 : any
|
||
|
>c : any
|
||
|
}
|