Skip to content

Conversation

@joscoh
Copy link
Contributor

@joscoh joscoh commented Jan 12, 2026

Issue #, if available: #306

Description of changes:
Adds check to ensure datatypes are inhabited to ensure soundness of destructor generation
This check uses memoization to avoid repeated computation, but is conservative, rejecting types like List Empty that are inhabited.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@joscoh joscoh requested review from a team, aqjune-aws, atomb and shigoel as code owners January 12, 2026 19:07
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