Skip to content

Fix freeVars calculation for TNominal#1774

Merged
RyanGlScott merged 1 commit intomasterfrom
T1773-fix-TNominal-freeVars
Nov 21, 2024
Merged

Fix freeVars calculation for TNominal#1774
RyanGlScott merged 1 commit intomasterfrom
T1773-fix-TNominal-freeVars

Conversation

@RyanGlScott
Copy link
Contributor

Rather than computing the free variables of a NominalType definition, we only include the name of the NominalType itself as a free variable.

Fixes #1773.

Rather than computing the free variables of a `NominalType` definition, we only
include the name of the `NominalType` itself as a free variable.

Fixes #1773.
Copy link
Member

@yav yav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RyanGlScott RyanGlScott merged commit 56a93da into master Nov 21, 2024
@RyanGlScott RyanGlScott deleted the T1773-fix-TNominal-freeVars branch November 21, 2024 18:40
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.

Incorrect FreeVars Type case for newtypes and enums

2 participants