Skip to content
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

Fix regression in functionality of SimplifyTypes. #111

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

MatthewFluet
Copy link
Collaborator

The previous "simplifying" of SimplifyTypes was overzealous. It ended up eliminating the aspects of the transformation that cleaned up types of cardinality 1; such types are equivalent (and many become translated) to unit and should be removed from types, arguments, etc.

The previous "simplifying" of `SimplifyTypes` was overzealous.  It
ended up eliminating the aspects of the transformation that cleaned up
types of cardinality 1; such types are equivalent (and many become
translated) to `unit` and should be removed from types, arguments,
etc.
@shwestrick
Copy link
Collaborator

Looks good, thanks Matthew!

@shwestrick shwestrick merged commit aad75db into MPLLang:master Feb 18, 2020
@MatthewFluet MatthewFluet deleted the mpl-simplify-types-update branch February 18, 2020 12:58
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