Skip to content

Commit f765233

Browse files
author
Yui T
committed
Update baseline
1 parent ff28bfa commit f765233

28 files changed

+63
-1
lines changed

tests/baselines/reference/importCallExpression1ESNext.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ export function foo() { return "foo"; }
44

55
=== tests/cases/conformance/dynamicImport/1.ts ===
66
import("./0");
7+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
8+
79
var p1 = import("./0");
810
>p1 : Symbol(p1, Decl(1.ts, 1, 3))
11+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
912

1013
p1.then(zero => {
1114
>p1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
@@ -25,4 +28,5 @@ function foo() {
2528

2629
const p2 = import("./0");
2730
>p2 : Symbol(p2, Decl(1.ts, 7, 9))
31+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
2832
}

tests/baselines/reference/importCallExpression2ESNext.symbols

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ function foo(x: Promise<any>) {
3030

3131
foo(import("./0"));
3232
>foo : Symbol(foo, Decl(2.ts, 0, 0))
33+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
3334

tests/baselines/reference/importCallExpression3ESNext.symbols

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ async function foo() {
1313
class C extends (await import("./0")).B {}
1414
>C : Symbol(C, Decl(2.ts, 0, 22))
1515
>(await import("./0")).B : Symbol(B, Decl(0.ts, 0, 0))
16+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
1617
>B : Symbol(B, Decl(0.ts, 0, 0))
1718

1819
var c = new C();

tests/baselines/reference/importCallExpression4ESNext.symbols

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class C {
2222

2323
private myModule = import("./0");
2424
>myModule : Symbol(C.myModule, Decl(2.ts, 1, 9))
25+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
2526

2627
method() {
2728
>method : Symbol(C.method, Decl(2.ts, 2, 37))
@@ -49,6 +50,7 @@ class C {
4950

5051
let one = await import("./1");
5152
>one : Symbol(one, Decl(2.ts, 8, 15))
53+
>"./1" : Symbol("tests/cases/conformance/dynamicImport/1", Decl(1.ts, 0, 0))
5254

5355
console.log(one.backup());
5456
>console : Symbol(console, Decl(2.ts, 0, 11))

tests/baselines/reference/importCallExpressionDeclarationEmit3.symbols

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import * as Zero from "./0";
1010
>Zero : Symbol(Zero, Decl(1.ts, 1, 6))
1111

1212
import("./0");
13+
>"./0" : Symbol(Zero, Decl(0.ts, 0, 0))
1314

1415
export var p0: Promise<typeof Zero> = import(getPath());
1516
>p0 : Symbol(p0, Decl(1.ts, 4, 10))
@@ -21,8 +22,10 @@ export var p1: Promise<typeof Zero> = import("./0");
2122
>p1 : Symbol(p1, Decl(1.ts, 5, 10))
2223
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
2324
>Zero : Symbol(Zero, Decl(1.ts, 1, 6))
25+
>"./0" : Symbol(Zero, Decl(0.ts, 0, 0))
2426

2527
export var p2: Promise<any> = import("./0");
2628
>p2 : Symbol(p2, Decl(1.ts, 6, 10))
2729
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --))
30+
>"./0" : Symbol(Zero, Decl(0.ts, 0, 0))
2831

tests/baselines/reference/importCallExpressionES5AMD.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ export function foo() { return "foo"; }
44

55
=== tests/cases/conformance/dynamicImport/1.ts ===
66
import("./0");
7+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
8+
79
var p1 = import("./0");
810
>p1 : Symbol(p1, Decl(1.ts, 1, 3))
11+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
912

1013
p1.then(zero => {
1114
>p1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
@@ -25,4 +28,5 @@ function foo() {
2528

2629
const p2 = import("./0");
2730
>p2 : Symbol(p2, Decl(1.ts, 7, 9))
31+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
2832
}

tests/baselines/reference/importCallExpressionES5CJS.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ export function foo() { return "foo"; }
44

55
=== tests/cases/conformance/dynamicImport/1.ts ===
66
import("./0");
7+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
8+
79
var p1 = import("./0");
810
>p1 : Symbol(p1, Decl(1.ts, 1, 3))
11+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
912

1013
p1.then(zero => {
1114
>p1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
@@ -25,4 +28,5 @@ function foo() {
2528

2629
const p2 = import("./0");
2730
>p2 : Symbol(p2, Decl(1.ts, 7, 9))
31+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
2832
}

tests/baselines/reference/importCallExpressionES5System.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ export function foo() { return "foo"; }
44

55
=== tests/cases/conformance/dynamicImport/1.ts ===
66
import("./0");
7+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
8+
79
var p1 = import("./0");
810
>p1 : Symbol(p1, Decl(1.ts, 1, 3))
11+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
912

1013
p1.then(zero => {
1114
>p1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
@@ -25,4 +28,5 @@ function foo() {
2528

2629
const p2 = import("./0");
2730
>p2 : Symbol(p2, Decl(1.ts, 7, 9))
31+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
2832
}

tests/baselines/reference/importCallExpressionES5UMD.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ export function foo() { return "foo"; }
44

55
=== tests/cases/conformance/dynamicImport/1.ts ===
66
import("./0");
7+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
8+
79
var p1 = import("./0");
810
>p1 : Symbol(p1, Decl(1.ts, 1, 3))
11+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
912

1013
p1.then(zero => {
1114
>p1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
@@ -25,4 +28,5 @@ function foo() {
2528

2629
const p2 = import("./0");
2730
>p2 : Symbol(p2, Decl(1.ts, 7, 9))
31+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
2832
}

tests/baselines/reference/importCallExpressionInAMD1.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ export function foo() { return "foo"; }
44

55
=== tests/cases/conformance/dynamicImport/1.ts ===
66
import("./0");
7+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
8+
79
var p1 = import("./0");
810
>p1 : Symbol(p1, Decl(1.ts, 1, 3))
11+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
912

1013
p1.then(zero => {
1114
>p1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
@@ -25,4 +28,5 @@ function foo() {
2528

2629
const p2 = import("./0");
2730
>p2 : Symbol(p2, Decl(1.ts, 7, 9))
31+
>"./0" : Symbol("tests/cases/conformance/dynamicImport/0", Decl(0.ts, 0, 0))
2832
}

0 commit comments

Comments
 (0)