mirror of https://github.com/sveltejs/svelte
fix: include method definitions in class private fields (#14365)
* fix: include method definitions in class private fields * Update packages/svelte/tests/runtime-runes/samples/class-disabinguate-private-method-definition/_config.js --------- Co-authored-by: Rich Harris <rich.harris@vercel.com>pull/14368/head
parent
ce471310c4
commit
32a1453805
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: include method definitions in class private fields
|
@ -0,0 +1,3 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({});
|
@ -0,0 +1,8 @@
|
||||
<script>
|
||||
class Repo {
|
||||
tree = $state();
|
||||
async #tree() {
|
||||
}
|
||||
}
|
||||
const repo = new Repo();
|
||||
</script>
|
Loading…
Reference in new issue