Describe the bug
It seems that the current implementation of the semi rule in some cases changes types.
When changing semi to always, the error does not occur.
Unfortunately I was not able to find the cause but I was able to create a (more or less) minimal reproducible example.
Reproduction
https://github.com/movabo/antfu-bug
System Info
System:
OS: macOS 15.6.1
CPU: (10) arm64 Apple M1 Max
Memory: 288.00 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 23.9.0 - /opt/homebrew/bin/node
npm: 10.9.2 - /opt/homebrew/bin/npm
Browsers:
Chrome: 146.0.7680.178
Firefox: 149.0
Safari: 18.6
Used Package Manager
npm
Validations
Contributions
Describe the bug
It seems that the current implementation of the
semirule in some cases changes types.When changing
semitoalways, the error does not occur.Unfortunately I was not able to find the cause but I was able to create a (more or less) minimal reproducible example.
Reproduction
https://github.com/movabo/antfu-bug
System Info
System: OS: macOS 15.6.1 CPU: (10) arm64 Apple M1 Max Memory: 288.00 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 23.9.0 - /opt/homebrew/bin/node npm: 10.9.2 - /opt/homebrew/bin/npm Browsers: Chrome: 146.0.7680.178 Firefox: 149.0 Safari: 18.6Used Package Manager
npm
Validations
Contributions