Skip to content

Conversation

@elegios
Copy link
Contributor

@elegios elegios commented Mar 20, 2025

This PR changes extract.mc to use exprAsDecl and a new freeNames semantic function, which finds all free occurrences of Names, including variables, type variables, constructors, and type constructors. This makes the implementation a bit more uniform, and in particular fixes a bug where all constructors (and thus all algebraic type definitions) are included no matter what.

@david-broman david-broman merged commit da8c8ab into miking-lang:develop Mar 25, 2025
1 of 2 checks passed
@elegios elegios deleted the precise-extract branch April 16, 2025 09:00
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.

2 participants