Skip to content

refactor: adapt moonbit 0.9.3#133

Merged
Yoorkin merged 2 commits into
masterfrom
update-intf
May 13, 2026
Merged

refactor: adapt moonbit 0.9.3#133
Yoorkin merged 2 commits into
masterfrom
update-intf

Conversation

@Yoorkin
Copy link
Copy Markdown
Contributor

@Yoorkin Yoorkin commented May 13, 2026

Summary

  • Update deprecated MoonBit 0.9.3 APIs from Ref::new(...) to Ref(...) and empty Map::new() to Map([]).
  • Migrate parser diagnostic failure messages from deprecated Show output to Debug output via to_repr(...), and derive Debug for Report.
  • Use core/test's assert_eq in syntax white-box tests and import it for wbtest to avoid the deprecated Show-based assertion path.

Tests

  • moon check
  • moon test handrolled_parser
  • moon test syntax
  • moon test pkg_parser
  • moon test test/sync_test
  • moon fmt
  • moon info

@Yoorkin Yoorkin merged commit fa06926 into master May 13, 2026
1 check 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