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