-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
Describe the bug
class Hello {
hello() {}
static hello() {} // throws "`hello` has already been declared"
}
Reproduction
https://svelte.dev/playground/d875318270e444efb8a4e7b095375885?version=5.37.1
Logs
System Info
System:
OS: macOS 15.5
CPU: (8) arm64 Apple M1
Memory: 130.66 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.17.0/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
bun: 1.0.15 - ~/.bun/bin/bun
Watchman: 2023.12.04.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 138.0.7204.170
Safari: 18.5
Severity
annoyance