Skip to content

fix(moonbit): Update keywords#1282

Merged
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
MendyBerger:main
Apr 28, 2025
Merged

fix(moonbit): Update keywords#1282
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
MendyBerger:main

Conversation

@MendyBerger
Copy link
Copy Markdown
Contributor

Keyword list taken from https://github.com/moonbitlang/moonbit-compiler/blob/main/src/lex_keyword_tbl.ml

I removed expect, main, and init, as they're not listed as reserved in the compiler.
@peter-jerry-ye can you confirm that it's safe to remove them?
Keeping this draft until that's confirmed.

@peter-jerry-ye
Copy link
Copy Markdown
Contributor

peter-jerry-ye commented Apr 25, 2025 via email

@MendyBerger
Copy link
Copy Markdown
Contributor Author

Thanks @peter-jerry-ye!
Added back init and main

@MendyBerger MendyBerger marked this pull request as ready for review April 25, 2025 13:44
@alexcrichton alexcrichton added this pull request to the merge queue Apr 28, 2025
Merged via the queue into bytecodealliance:main with commit a2327aa Apr 28, 2025
18 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