0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00

add failing test for #2347

This commit is contained in:
John Chesley 2019-04-01 20:18:50 -04:00
parent e3c0887afc
commit 1140fdf7a7
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export default {
v2=4 v2=4
vi1=4 vi1=4
$vs1=1 $vs1=1
vl0=hello
vl1=test vl1=test
$s3=29 $s3=29
loop... loop...

View File

@ -19,6 +19,10 @@
let vs1 = v1 let vs1 = v1
export { vs1 as a4 } export { vs1 as a4 }
// literal initializer
let vl0 = 'hello'
export { vl0 }
// aliased with literal initializer // aliased with literal initializer
let vl1 = 'test' let vl1 = 'test'
export { vl1 as a5 } export { vl1 as a5 }
@ -41,6 +45,7 @@ $v1={$v1}
v2={v2} v2={v2}
vi1={vi1} vi1={vi1}
$vs1={$vs1} $vs1={$vs1}
vl0={vl0}
vl1={vl1} vl1={vl1}
$s3={$s3} $s3={$s3}
{k1}{k2} {k1}{k2}