mirror of https://github.com/sveltejs/svelte
				
				
				
			Merge pull request #2312 from sveltejs/gh-2294
	
		
	
				
					
				
			note action/etc. references even when hoistablepull/2319/head
						commit
						f6f06b3cf5
					
				@ -1,5 +1,7 @@
 | 
				
			|||||||
<script>
 | 
					<script>
 | 
				
			||||||
 | 
						import hoistable_foo from '';
 | 
				
			||||||
	let foo;
 | 
						let foo;
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<div use:hoistable_foo/>
 | 
				
			||||||
<div use:foo/>
 | 
					<div use:foo/>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,11 @@
 | 
				
			|||||||
<script>
 | 
					<script>
 | 
				
			||||||
 | 
						import hoistable_foo from '';
 | 
				
			||||||
	let foo;
 | 
						let foo;
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{#each [] as x (x)}
 | 
				
			||||||
 | 
						<div animate:hoistable_foo/>
 | 
				
			||||||
 | 
					{/each}
 | 
				
			||||||
{#each [] as x (x)}
 | 
					{#each [] as x (x)}
 | 
				
			||||||
	<div animate:foo/>
 | 
						<div animate:foo/>
 | 
				
			||||||
{/each}
 | 
					{/each}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,9 +1,13 @@
 | 
				
			|||||||
<script>
 | 
					<script>
 | 
				
			||||||
 | 
						import { hoistable_foo, hoistable_bar, hoistable_baz } from '';
 | 
				
			||||||
	let foo;
 | 
						let foo;
 | 
				
			||||||
	let bar;
 | 
						let bar;
 | 
				
			||||||
	let baz;
 | 
						let baz;
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<div in:hoistable_foo/>
 | 
				
			||||||
 | 
					<div out:hoistable_bar/>
 | 
				
			||||||
 | 
					<div transition:hoistable_baz/>
 | 
				
			||||||
<div in:foo/>
 | 
					<div in:foo/>
 | 
				
			||||||
<div out:bar/>
 | 
					<div out:bar/>
 | 
				
			||||||
<div transition:baz/>
 | 
					<div transition:baz/>
 | 
				
			||||||
 | 
				
			|||||||
					Loading…
					
					
				
		Reference in new issue