2014-12-09 00:38:35 +01:00
|
|
|
=== tests/cases/conformance/parser/ecmascript5/Generics/parserAmbiguityWithBinaryOperator2.ts ===
|
|
|
|
function f() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : () => void, Symbol(f, Decl(parserAmbiguityWithBinaryOperator2.ts, 0, 0))
|
2014-12-09 00:38:35 +01:00
|
|
|
|
|
|
|
var a, b, c;
|
2015-04-13 23:01:57 +02:00
|
|
|
>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))
|
2014-12-09 00:38:35 +01:00
|
|
|
|
|
|
|
if (a < b && b > (c + 1)) { }
|
|
|
|
>a < b && b > (c + 1) : boolean
|
|
|
|
>a < b : boolean
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : any, Symbol(a, Decl(parserAmbiguityWithBinaryOperator2.ts, 1, 7))
|
|
|
|
>b : any, Symbol(b, Decl(parserAmbiguityWithBinaryOperator2.ts, 1, 10))
|
2014-12-09 00:38:35 +01:00
|
|
|
>b > (c + 1) : boolean
|
2015-04-13 23:01:57 +02:00
|
|
|
>b : any, Symbol(b, Decl(parserAmbiguityWithBinaryOperator2.ts, 1, 10))
|
2014-12-09 00:38:35 +01:00
|
|
|
>(c + 1) : any
|
|
|
|
>c + 1 : any
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : any, Symbol(c, Decl(parserAmbiguityWithBinaryOperator2.ts, 1, 13))
|
2015-04-13 21:36:11 +02:00
|
|
|
>1 : number
|
2014-12-09 00:38:35 +01:00
|
|
|
}
|