Skip to content

url: drop the dead moonbitlang/core/strconv import; release 0.15.5 - #168

Merged
bobzhang merged 1 commit into
mainfrom
fix/drop-dead-strconv-import
Sep 5, 2026
Merged

url: drop the dead moonbitlang/core/strconv import; release 0.15.5#168
bobzhang merged 1 commit into
mainfrom
fix/drop-dead-strconv-import

Conversation

@bobzhang

@bobzhang bobzhang commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

url/moon.pkg imported both moonbitlang/core/strconv and moonbitlang/core/string; the package's one parse (url.mbt, the port) already uses @string.parse_int. Nothing referenced @strconv — the import was dead.

It stopped being harmless with core 0.10.12, which removed moonbitlang/core/strconv (only core/internal/strconv remains). Any module depending on rabbita then fails package solving before compiling anything:

Cannot find import 'moonbitlang/core/strconv' in moonbit-community/rabbita/url@0.15.4

core/string has the same parse_* API in 0.10.11 and 0.10.12, so this builds on both. Version bumped to 0.15.5 for the release tag rabbita-v0.15.5.

Note: rabbita's own dependency oboard/mocket@0.7.7 also imports the removed package, so this module still won't solve on core 0.10.12 until mocket releases a fix — this PR removes rabbita's share of the problem.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FXBYcYo74F1DGSPZsYYAdc

`url/moon.pkg` imported both `moonbitlang/core/strconv` and
`moonbitlang/core/string`, and the one parse in the package
(`url.mbt`, the port) already goes through `@string.parse_int`. Nothing
named `@strconv`; the import was dead.

It stopped being harmless with core 0.10.12, which removed
`moonbitlang/core/strconv` (only `core/internal/strconv` remains): any
module depending on rabbita then fails package solving before a single
file is compiled — "Cannot find import 'moonbitlang/core/strconv' in
moonbit-community/rabbita/url". `core/string` carries the same
`parse_*` API in 0.10.11 and 0.10.12, so this builds on both.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FXBYcYo74F1DGSPZsYYAdc
@bobzhang
bobzhang merged commit f90ba4d into main Sep 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant