Skip to content

fix(moonbit): update syntax and add tests - #1352

Merged
alexcrichton merged 4 commits into
bytecodealliance:mainfrom
peter-jerry-ye:main
Aug 14, 2025
Merged

fix(moonbit): update syntax and add tests#1352
alexcrichton merged 4 commits into
bytecodealliance:mainfrom
peter-jerry-ye:main

Conversation

@peter-jerry-ye

Copy link
Copy Markdown
Contributor

This PR updates the MoonBit syntax:

  • we now use suberror for error type declaration
  • we now use tuple struct instead of newtype
  • we now have more reserved keywords

This PR also adds a new test and adapt to the wit-bindgen's new composed test.

As always, MoonBit is not added to the CI at the moment.

Credit : @BigOrangeQWQ

@alexcrichton
alexcrichton added this pull request to the merge queue Aug 14, 2025
Merged via the queue into bytecodealliance:main with commit fc0bff6 Aug 14, 2025
22 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.

3 participants