mirror of https://github.com/sveltejs/svelte
check module scope when determining if a name is contextual - fixes #2001
parent
33131d0b70
commit
4f630058fe
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: `<p>(42)(99)</p>`
|
||||
};
|
@ -0,0 +1,9 @@
|
||||
<script context="module">
|
||||
const foo = 42;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
export let bar = 99;
|
||||
</script>
|
||||
|
||||
<p>({foo})({bar})</p>
|
Loading…
Reference in new issue