114 lines
2.7 KiB
Text
114 lines
2.7 KiB
Text
|
===================================================================
|
||
|
JsFile: c.js
|
||
|
mapUrl: c.js.map
|
||
|
sourceRoot:
|
||
|
sources: tests/cases/compiler/a.ts,tests/cases/compiler/b.ts
|
||
|
===================================================================
|
||
|
-------------------------------------------------------------------
|
||
|
emittedFile:c.js
|
||
|
sourceFile:tests/cases/compiler/a.ts
|
||
|
-------------------------------------------------------------------
|
||
|
>>>// --out and --outFile error
|
||
|
1 >
|
||
|
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
1 >
|
||
|
>
|
||
|
2 >// --out and --outFile error
|
||
|
1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0)
|
||
|
2 >Emitted(1, 29) Source(2, 29) + SourceIndex(0)
|
||
|
---
|
||
|
>>>var A = (function () {
|
||
|
1 >
|
||
|
2 >^^^^^^^^^^^^^^^^^^^->
|
||
|
1 >
|
||
|
>
|
||
|
>
|
||
|
1 >Emitted(2, 1) Source(4, 1) + SourceIndex(0)
|
||
|
---
|
||
|
>>> function A() {
|
||
|
1->^^^^
|
||
|
2 > ^^->
|
||
|
1->
|
||
|
1->Emitted(3, 5) Source(4, 1) + SourceIndex(0) name (A)
|
||
|
---
|
||
|
>>> }
|
||
|
1->^^^^
|
||
|
2 > ^
|
||
|
3 > ^^^^^^^^^->
|
||
|
1->class A {
|
||
|
2 > }
|
||
|
1->Emitted(4, 5) Source(4, 11) + SourceIndex(0) name (A.constructor)
|
||
|
2 >Emitted(4, 6) Source(4, 12) + SourceIndex(0) name (A.constructor)
|
||
|
---
|
||
|
>>> return A;
|
||
|
1->^^^^
|
||
|
2 > ^^^^^^^^
|
||
|
1->
|
||
|
2 > }
|
||
|
1->Emitted(5, 5) Source(4, 11) + SourceIndex(0) name (A)
|
||
|
2 >Emitted(5, 13) Source(4, 12) + SourceIndex(0) name (A)
|
||
|
---
|
||
|
>>>})();
|
||
|
1 >
|
||
|
2 >^
|
||
|
3 >
|
||
|
4 > ^^^^
|
||
|
5 > ^^^^^^^^^^^^^^^^^^->
|
||
|
1 >
|
||
|
2 >}
|
||
|
3 >
|
||
|
4 > class A { }
|
||
|
1 >Emitted(6, 1) Source(4, 11) + SourceIndex(0) name (A)
|
||
|
2 >Emitted(6, 2) Source(4, 12) + SourceIndex(0) name (A)
|
||
|
3 >Emitted(6, 2) Source(4, 1) + SourceIndex(0)
|
||
|
4 >Emitted(6, 6) Source(4, 12) + SourceIndex(0)
|
||
|
---
|
||
|
-------------------------------------------------------------------
|
||
|
emittedFile:c.js
|
||
|
sourceFile:tests/cases/compiler/b.ts
|
||
|
-------------------------------------------------------------------
|
||
|
>>>var B = (function () {
|
||
|
1->
|
||
|
2 >^^^^^^^^^^^^^^^^^^^->
|
||
|
1->
|
||
|
1->Emitted(7, 1) Source(1, 1) + SourceIndex(1)
|
||
|
---
|
||
|
>>> function B() {
|
||
|
1->^^^^
|
||
|
2 > ^^->
|
||
|
1->
|
||
|
1->Emitted(8, 5) Source(1, 1) + SourceIndex(1) name (B)
|
||
|
---
|
||
|
>>> }
|
||
|
1->^^^^
|
||
|
2 > ^
|
||
|
3 > ^^^^^^^^^->
|
||
|
1->class B {
|
||
|
2 > }
|
||
|
1->Emitted(9, 5) Source(1, 11) + SourceIndex(1) name (B.constructor)
|
||
|
2 >Emitted(9, 6) Source(1, 12) + SourceIndex(1) name (B.constructor)
|
||
|
---
|
||
|
>>> return B;
|
||
|
1->^^^^
|
||
|
2 > ^^^^^^^^
|
||
|
1->
|
||
|
2 > }
|
||
|
1->Emitted(10, 5) Source(1, 11) + SourceIndex(1) name (B)
|
||
|
2 >Emitted(10, 13) Source(1, 12) + SourceIndex(1) name (B)
|
||
|
---
|
||
|
>>>})();
|
||
|
1 >
|
||
|
2 >^
|
||
|
3 >
|
||
|
4 > ^^^^
|
||
|
5 > ^^^^^^^^^^^^^^^^^^^^^^^->
|
||
|
1 >
|
||
|
2 >}
|
||
|
3 >
|
||
|
4 > class B { }
|
||
|
1 >Emitted(11, 1) Source(1, 11) + SourceIndex(1) name (B)
|
||
|
2 >Emitted(11, 2) Source(1, 12) + SourceIndex(1) name (B)
|
||
|
3 >Emitted(11, 2) Source(1, 1) + SourceIndex(1)
|
||
|
4 >Emitted(11, 6) Source(1, 12) + SourceIndex(1)
|
||
|
---
|
||
|
>>>//# sourceMappingURL=c.js.map
|