Conflicts: src/compiler/emitter.ts tests/baselines/reference/es6ExportAll.js tests/baselines/reference/es6ExportClauseWithoutModuleSpecifier.js tests/baselines/reference/es6ImportNamedImport.js
70 lines
984 B
Text
70 lines
984 B
Text
=== tests/cases/compiler/es6ModuleLet.ts ===
|
|
export let a = "hello";
|
|
>a : string
|
|
|
|
export let x: string = a, y = x;
|
|
>x : string
|
|
>a : string
|
|
>y : string
|
|
>x : string
|
|
|
|
let b = y;
|
|
>b : string
|
|
>y : string
|
|
|
|
let c: string = b, d = c;
|
|
>c : string
|
|
>b : string
|
|
>d : string
|
|
>c : string
|
|
|
|
export module m1 {
|
|
>m1 : typeof m1
|
|
|
|
export let k = a;
|
|
>k : string
|
|
>a : string
|
|
|
|
export let l: string = b, m = k;
|
|
>l : string
|
|
>b : string
|
|
>m : string
|
|
>k : string
|
|
|
|
let n = m1.k;
|
|
>n : string
|
|
>m1.k : string
|
|
>m1 : typeof m1
|
|
>k : string
|
|
|
|
let o: string = n, p = k;
|
|
>o : string
|
|
>n : string
|
|
>p : string
|
|
>k : string
|
|
}
|
|
module m2 {
|
|
>m2 : typeof m2
|
|
|
|
export let k = a;
|
|
>k : string
|
|
>a : string
|
|
|
|
export let l: string = b, m = k;
|
|
>l : string
|
|
>b : string
|
|
>m : string
|
|
>k : string
|
|
|
|
let n = m1.k;
|
|
>n : string
|
|
>m1.k : string
|
|
>m1 : typeof m1
|
|
>k : string
|
|
|
|
let o: string = n, p = k;
|
|
>o : string
|
|
>n : string
|
|
>p : string
|
|
>k : string
|
|
}
|