Skip to content

Experiment/POC: mops fix command#352

Closed
Kamirus wants to merge 6 commits intomainfrom
kamil/mops-fix-poc
Closed

Experiment/POC: mops fix command#352
Kamirus wants to merge 6 commits intomainfrom
kamil/mops-fix-poc

Conversation

@Kamirus
Copy link
Copy Markdown
Collaborator

@Kamirus Kamirus commented Dec 22, 2025

POC mops fix command that auto-fixes the following messages: M0223,M0236,M0237, see the tests

Invoke
mops fix tests/fix/m0223.mo -- -W=M0223,M0236,M0237

Uses the compiler diagnostics (for now using node-motoko but we can also use moc and parse the diagnostics / emit them as json)

@Kamirus Kamirus closed this Mar 18, 2026
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