mirror of https://github.com/sveltejs/svelte
Merge pull request #3151 from sveltejs/gh-2906
correctly transform inline shorthand methodspull/3170/head
commit
71e0d27655
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
export let bar;
|
||||
</script>
|
||||
|
||||
{bar.answer()}
|
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: '42'
|
||||
};
|
@ -0,0 +1,9 @@
|
||||
<script>
|
||||
import Foo from './Foo.svelte';
|
||||
</script>
|
||||
|
||||
<Foo bar={{
|
||||
answer() {
|
||||
return 42;
|
||||
}
|
||||
}} />
|
Loading…
Reference in new issue