21 lines
382 B
Text
21 lines
382 B
Text
=== tests/cases/conformance/parser/ecmascript5/Generics/parserAmbiguityWithBinaryOperator1.ts ===
|
|
function f1() {
|
|
>f1 : () => 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
|
|
>1 : number
|
|
}
|