mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 15:25:54 -06:00
Test baseline update because .map cannot be a valid js file anymore
This commit is contained in:
parent
382b86bd2c
commit
ea57efa430
@ -1,9 +1,9 @@
|
||||
error TS5055: Cannot write file 'tests/cases/compiler/b.js' which is one of the input files.
|
||||
error TS5055: Cannot write file 'tests/cases/compiler/b.js.map' which is one of the input files.
|
||||
error TS6054: File 'tests/cases/compiler/b.js.map' has unsupported extension. The only supported extensions are 'ts', 'tsx', 'd.ts', 'js', 'jsx'.
|
||||
|
||||
|
||||
!!! error TS5055: Cannot write file 'tests/cases/compiler/b.js' which is one of the input files.
|
||||
!!! error TS5055: Cannot write file 'tests/cases/compiler/b.js.map' which is one of the input files.
|
||||
!!! error TS6054: File 'tests/cases/compiler/b.js.map' has unsupported extension. The only supported extensions are 'ts', 'tsx', 'd.ts', 'js', 'jsx'.
|
||||
==== tests/cases/compiler/a.ts (0 errors) ====
|
||||
|
||||
class c {
|
||||
|
||||
@ -19,7 +19,4 @@ var c = (function () {
|
||||
}
|
||||
return c;
|
||||
})();
|
||||
//# sourceMappingURL=a.js.map//// [b.js.js]
|
||||
function foo() {
|
||||
}
|
||||
//# sourceMappingURL=b.js.js.map
|
||||
//# sourceMappingURL=a.js.map
|
||||
@ -1,3 +1,2 @@
|
||||
//// [a.js.map]
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":["c","c.constructor"],"mappings":"AACA;IAAAA;IACAC,CAACA;IAADD,QAACA;AAADA,CAACA,AADD,IACC"}//// [b.js.js.map]
|
||||
{"version":3,"file":"b.js.js","sourceRoot":"","sources":["b.js.map"],"names":["foo"],"mappings":"AAAA;AACAA,CAACA"}
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":["c","c.constructor"],"mappings":"AACA;IAAAA;IACAC,CAACA;IAADD,QAACA;AAADA,CAACA,AADD,IACC"}
|
||||
@ -55,30 +55,4 @@ sourceFile:a.ts
|
||||
3 >Emitted(5, 2) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(5, 6) Source(3, 2) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=a.js.map===================================================================
|
||||
JsFile: b.js.js
|
||||
mapUrl: b.js.js.map
|
||||
sourceRoot:
|
||||
sources: b.js.map
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/b.js.js
|
||||
sourceFile:b.js.map
|
||||
-------------------------------------------------------------------
|
||||
>>>function foo() {
|
||||
1 >
|
||||
2 >^^->
|
||||
1 >
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
---
|
||||
>>>}
|
||||
1->
|
||||
2 >^
|
||||
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->function foo() {
|
||||
>
|
||||
2 >}
|
||||
1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) name (foo)
|
||||
2 >Emitted(2, 2) Source(2, 2) + SourceIndex(0) name (foo)
|
||||
---
|
||||
>>>//# sourceMappingURL=b.js.js.map
|
||||
>>>//# sourceMappingURL=a.js.map
|
||||
@ -1,7 +1,9 @@
|
||||
error TS5055: Cannot write file 'tests/cases/compiler/b.js' which is one of the input files.
|
||||
error TS6054: File 'tests/cases/compiler/b.js.map' has unsupported extension. The only supported extensions are 'ts', 'tsx', 'd.ts', 'js', 'jsx'.
|
||||
|
||||
|
||||
!!! error TS5055: Cannot write file 'tests/cases/compiler/b.js' which is one of the input files.
|
||||
!!! error TS6054: File 'tests/cases/compiler/b.js.map' has unsupported extension. The only supported extensions are 'ts', 'tsx', 'd.ts', 'js', 'jsx'.
|
||||
==== tests/cases/compiler/a.ts (0 errors) ====
|
||||
|
||||
class c {
|
||||
|
||||
@ -19,7 +19,4 @@ var c = (function () {
|
||||
}
|
||||
return c;
|
||||
})();
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOlsiYyIsImMuY29uc3RydWN0b3IiXSwibWFwcGluZ3MiOiJBQUNBO0lBQUFBO0lBQ0FDLENBQUNBO0lBQURELFFBQUNBO0FBQURBLENBQUNBLEFBREQsSUFDQyJ9//// [b.js.js]
|
||||
function foo() {
|
||||
}
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIuanMubWFwIl0sIm5hbWVzIjpbImZvbyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQUEsQ0FBQ0EifQ==
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOlsiYyIsImMuY29uc3RydWN0b3IiXSwibWFwcGluZ3MiOiJBQUNBO0lBQUFBO0lBQ0FDLENBQUNBO0lBQURELFFBQUNBO0FBQURBLENBQUNBLEFBREQsSUFDQyJ9
|
||||
@ -55,30 +55,4 @@ sourceFile:a.ts
|
||||
3 >Emitted(5, 2) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(5, 6) Source(3, 2) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOlsiYyIsImMuY29uc3RydWN0b3IiXSwibWFwcGluZ3MiOiJBQUNBO0lBQUFBO0lBQ0FDLENBQUNBO0lBQURELFFBQUNBO0FBQURBLENBQUNBLEFBREQsSUFDQyJ9===================================================================
|
||||
JsFile: b.js.js
|
||||
mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIuanMubWFwIl0sIm5hbWVzIjpbImZvbyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQUEsQ0FBQ0EifQ==
|
||||
sourceRoot:
|
||||
sources: b.js.map
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:tests/cases/compiler/b.js.js
|
||||
sourceFile:b.js.map
|
||||
-------------------------------------------------------------------
|
||||
>>>function foo() {
|
||||
1 >
|
||||
2 >^^->
|
||||
1 >
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
---
|
||||
>>>}
|
||||
1->
|
||||
2 >^
|
||||
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->function foo() {
|
||||
>
|
||||
2 >}
|
||||
1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) name (foo)
|
||||
2 >Emitted(2, 2) Source(2, 2) + SourceIndex(0) name (foo)
|
||||
---
|
||||
>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIuanMubWFwIl0sIm5hbWVzIjpbImZvbyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQUEsQ0FBQ0EifQ==
|
||||
>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOlsiYyIsImMuY29uc3RydWN0b3IiXSwibWFwcGluZ3MiOiJBQUNBO0lBQUFBO0lBQ0FDLENBQUNBO0lBQURELFFBQUNBO0FBQURBLENBQUNBLEFBREQsSUFDQyJ9
|
||||
@ -0,0 +1,18 @@
|
||||
error TS6054: File 'tests/cases/compiler/b.js' has unsupported extension. The only supported extensions are 'ts', 'tsx', 'd.ts'.
|
||||
error TS6054: File 'tests/cases/compiler/b.js.map' has unsupported extension. The only supported extensions are 'ts', 'tsx', 'd.ts'.
|
||||
|
||||
|
||||
!!! error TS6054: File 'tests/cases/compiler/b.js' has unsupported extension. The only supported extensions are 'ts', 'tsx', 'd.ts'.
|
||||
!!! error TS6054: File 'tests/cases/compiler/b.js.map' has unsupported extension. The only supported extensions are 'ts', 'tsx', 'd.ts'.
|
||||
==== tests/cases/compiler/a.ts (0 errors) ====
|
||||
|
||||
class c {
|
||||
}
|
||||
|
||||
==== tests/cases/compiler/b.js.map (0 errors) ====
|
||||
function foo() {
|
||||
}
|
||||
|
||||
==== tests/cases/compiler/b.js (0 errors) ====
|
||||
function bar() {
|
||||
}
|
||||
@ -19,10 +19,4 @@ var c = (function () {
|
||||
}
|
||||
return c;
|
||||
})();
|
||||
//# sourceMappingURL=a.js.map//// [b.js.js]
|
||||
function foo() {
|
||||
}
|
||||
//# sourceMappingURL=b.js.js.map//// [b.js]
|
||||
function bar() {
|
||||
}
|
||||
//# sourceMappingURL=b.js.map
|
||||
//# sourceMappingURL=a.js.map
|
||||
@ -1,4 +1,2 @@
|
||||
//// [a.js.map]
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["../tests/cases/compiler/a.ts"],"names":["c","c.constructor"],"mappings":"AACA;IAAAA;IACAC,CAACA;IAADD,QAACA;AAADA,CAACA,AADD,IACC"}//// [b.js.js.map]
|
||||
{"version":3,"file":"b.js.js","sourceRoot":"","sources":["../tests/cases/compiler/b.js.map"],"names":["foo"],"mappings":"AAAA;AACAA,CAACA"}//// [b.js.map]
|
||||
{"version":3,"file":"b.js","sourceRoot":"","sources":["../tests/cases/compiler/b.js"],"names":["bar"],"mappings":"AAAA;AACAA,CAACA"}
|
||||
{"version":3,"file":"a.js","sourceRoot":"","sources":["../tests/cases/compiler/a.ts"],"names":["c","c.constructor"],"mappings":"AACA;IAAAA;IACAC,CAACA;IAADD,QAACA;AAADA,CAACA,AADD,IACC"}
|
||||
@ -55,56 +55,4 @@ sourceFile:../tests/cases/compiler/a.ts
|
||||
3 >Emitted(5, 2) Source(2, 1) + SourceIndex(0)
|
||||
4 >Emitted(5, 6) Source(3, 2) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=a.js.map===================================================================
|
||||
JsFile: b.js.js
|
||||
mapUrl: b.js.js.map
|
||||
sourceRoot:
|
||||
sources: ../tests/cases/compiler/b.js.map
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:out/b.js.js
|
||||
sourceFile:../tests/cases/compiler/b.js.map
|
||||
-------------------------------------------------------------------
|
||||
>>>function foo() {
|
||||
1 >
|
||||
2 >^^->
|
||||
1 >
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
---
|
||||
>>>}
|
||||
1->
|
||||
2 >^
|
||||
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->function foo() {
|
||||
>
|
||||
2 >}
|
||||
1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) name (foo)
|
||||
2 >Emitted(2, 2) Source(2, 2) + SourceIndex(0) name (foo)
|
||||
---
|
||||
>>>//# sourceMappingURL=b.js.js.map===================================================================
|
||||
JsFile: b.js
|
||||
mapUrl: b.js.map
|
||||
sourceRoot:
|
||||
sources: ../tests/cases/compiler/b.js
|
||||
===================================================================
|
||||
-------------------------------------------------------------------
|
||||
emittedFile:out/b.js
|
||||
sourceFile:../tests/cases/compiler/b.js
|
||||
-------------------------------------------------------------------
|
||||
>>>function bar() {
|
||||
1 >
|
||||
2 >^^->
|
||||
1 >
|
||||
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
|
||||
---
|
||||
>>>}
|
||||
1->
|
||||
2 >^
|
||||
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->function bar() {
|
||||
>
|
||||
2 >}
|
||||
1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) name (bar)
|
||||
2 >Emitted(2, 2) Source(2, 2) + SourceIndex(0) name (bar)
|
||||
---
|
||||
>>>//# sourceMappingURL=b.js.map
|
||||
>>>//# sourceMappingURL=a.js.map
|
||||
@ -1,15 +0,0 @@
|
||||
=== tests/cases/compiler/a.ts ===
|
||||
|
||||
class c {
|
||||
>c : Symbol(c, Decl(a.ts, 0, 0))
|
||||
}
|
||||
|
||||
=== tests/cases/compiler/b.js.map ===
|
||||
function foo() {
|
||||
>foo : Symbol(foo, Decl(b.js.map, 0, 0))
|
||||
}
|
||||
|
||||
=== tests/cases/compiler/b.js ===
|
||||
function bar() {
|
||||
>bar : Symbol(bar, Decl(b.js, 0, 0))
|
||||
}
|
||||
@ -1,15 +0,0 @@
|
||||
=== tests/cases/compiler/a.ts ===
|
||||
|
||||
class c {
|
||||
>c : c
|
||||
}
|
||||
|
||||
=== tests/cases/compiler/b.js.map ===
|
||||
function foo() {
|
||||
>foo : () => void
|
||||
}
|
||||
|
||||
=== tests/cases/compiler/b.js ===
|
||||
function bar() {
|
||||
>bar : () => void
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user