TypeScript/tests/baselines/reference/bpSpan_typealias.baseline
2014-11-06 15:40:28 -08:00

78 lines
2.6 KiB
Plaintext

1 >module m2 {
~~~~~~~~~~~~ => Pos: (0 to 11) SpanInfo: {"start":0,"length":164}
>module m2 {
> module m {
> export class c {
> }
> }
> type a = m.c;
> export type b = m.c;
> var x: a = new m.c();
> var y: b = new m.c();
>}
>:=> (line 1, col 0) to (line 10, col 1)
--------------------------------
2 > module m {
~~~~~~~~~~~~~~~ => Pos: (12 to 26) SpanInfo: {"start":16,"length":51}
>module m {
> export class c {
> }
> }
>:=> (line 2, col 4) to (line 5, col 5)
--------------------------------
3 > export class c {
~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (27 to 51) SpanInfo: {"start":35,"length":26}
>export class c {
> }
>:=> (line 3, col 8) to (line 4, col 9)
--------------------------------
4 > }
~~~~~~~~~~ => Pos: (52 to 61) SpanInfo: {"start":60,"length":1}
>}
>:=> (line 4, col 8) to (line 4, col 9)
--------------------------------
5 > }
~~~~~~ => Pos: (62 to 67) SpanInfo: {"start":66,"length":1}
>}
>:=> (line 5, col 4) to (line 5, col 5)
--------------------------------
6 > type a = m.c;
~~~~~~~~~~~~~~~~~~ => Pos: (68 to 85) SpanInfo: undefined
--------------------------------
7 > export type b = m.c;
~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (86 to 110) SpanInfo: undefined
--------------------------------
8 > var x: a = new m.c();
~~~~~~~~~~~~~~ => Pos: (111 to 124) SpanInfo: {"start":115,"length":20}
>var x: a = new m.c()
>:=> (line 8, col 4) to (line 8, col 24)
8 > var x: a = new m.c();
~~~~~~~~~~~~ => Pos: (125 to 136) SpanInfo: {"start":126,"length":9}
>new m.c()
>:=> (line 8, col 15) to (line 8, col 24)
--------------------------------
9 > var y: b = new m.c();
~~~~~~~~~~~~~~ => Pos: (137 to 150) SpanInfo: {"start":141,"length":20}
>var y: b = new m.c()
>:=> (line 9, col 4) to (line 9, col 24)
9 > var y: b = new m.c();
~~~~~~~~~~~~ => Pos: (151 to 162) SpanInfo: {"start":152,"length":9}
>new m.c()
>:=> (line 9, col 15) to (line 9, col 24)
--------------------------------
10 >}
~ => Pos: (163 to 163) SpanInfo: {"start":163,"length":1}
>}
>:=> (line 10, col 0) to (line 10, col 1)