Skip to content

Plinth.Plugin: remove anchors from guards, and add inlineable tests#7703

Open
zliu41 wants to merge 1 commit intomasterfrom
zliu41/test-inlineable
Open

Plinth.Plugin: remove anchors from guards, and add inlineable tests#7703
zliu41 wants to merge 1 commit intomasterfrom
zliu41/test-inlineable

Conversation

@zliu41
Copy link
Copy Markdown
Member

@zliu41 zliu41 commented Apr 3, 2026

I noticed that injectAnchors caused GHC to emit "non-exhaustive" warnings, because it was wrapping otherwise with anchors. In general, anchors in guards are probably not very useful, so I removed all anchors within guards.

Added a test case for INLINEABLE. It currently fails to compile because of lack of INLINEABLE. It should compile successfully once we add a new typeCheckResultAction that automatically injects INLINEABLEs.

@zliu41 zliu41 requested review from a team and SeungheonOh April 3, 2026 17:35
@zliu41 zliu41 added the No Changelog Required Add this to skip the Changelog Check label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Changelog Required Add this to skip the Changelog Check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant