8000 fix for dealiasing extractor by edwardpeters · Pull Request #555 · finos/morphir-scala · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix for dealiasing extractor #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 22, 2024
Merged

Conversation

edwardpeters
Copy link
Contributor
@edwardpeters edwardpeters commented Mar 22, 2024

Fix (and added additional testing) for a bug relating to type dealiasing

A prior PR addressed an issue where opaque types were being rejected on entry points due to the use of lookupTypeSpecification rather than lookupTypeDefinition. This fix was not applied to the extractor utility functions which are used by the type checker. Because these are only used in deeper type checking (which is currently only called by tests), it was not immediately caught.

This PR applies that fix to the extractor utility. Additionally, it expands the distributions the type checker covers to include some which use opaque types (so that this or similar bugs will be caught in the future).

Copy link
Contributor
@michelchan michelchan left a comment

Choose a reason for hiding this comment

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

lgtm

@michelchan michelchan merged commit 8d39c37 into finos:main Mar 22, 2024
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
0