2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/ternaryExpressionSourceMap.ts ===
|
|
|
|
|
|
|
|
var x = 1;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(ternaryExpressionSourceMap.ts, 1, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>1 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var foo = x ? () => 0 : () => 0;
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => number, Symbol(foo, Decl(ternaryExpressionSourceMap.ts, 2, 3))
|
2014-08-15 23:33:16 +02:00
|
|
|
>x ? () => 0 : () => 0 : () => number
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(ternaryExpressionSourceMap.ts, 1, 3))
|
2014-08-15 23:33:16 +02:00
|
|
|
>() => 0 : () => number
|
2015-04-13 21:36:11 +02:00
|
|
|
>0 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
>() => 0 : () => number
|
2015-04-13 21:36:11 +02:00
|
|
|
>0 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
|