mirror of https://github.com/sveltejs/svelte
parent
32768faa50
commit
f6060ed0dd
@ -0,0 +1,21 @@
|
|||||||
|
/* generated by Svelte vX.Y.Z */
|
||||||
|
import { SvelteComponent, init, safe_not_equal } from "svelte/internal";
|
||||||
|
|
||||||
|
function instance($$self) {
|
||||||
|
function foo() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
const foo_alias = foo;
|
||||||
|
foo_alias.nasty_but_legal();
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
class Component extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, null, safe_not_equal, {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Component;
|
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
function foo() {}
|
||||||
|
const foo_alias = foo;
|
||||||
|
foo_alias.nasty_but_legal();
|
||||||
|
</script>
|
Loading…
Reference in new issue