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

BUG: Record type-annotations sneak through records-to-tuples #11

Open
rrnewton opened this issue Jun 8, 2012 · 1 comment
Open

BUG: Record type-annotations sneak through records-to-tuples #11

rrnewton opened this issue Jun 8, 2012 · 1 comment
Labels

Comments

@rrnewton
Copy link
Owner

rrnewton commented Jun 8, 2012

This cropped up in mergeMonotonic (reuters test 7) after our new FIFO implementation was in place.

A reproducer was checked in here:
https://github.com/rrnewton/WaveScript/blob/0d3957aa588bc1fc216475b50b2c4e096b97153e/src/demos/wavescope/issue11_bug.ws

rrnewton added a commit that referenced this issue Jun 8, 2012
@rrnewton
Copy link
Owner Author

rrnewton commented Jun 8, 2012

The problem in this case was a typical compiler bug, when desugaring record types, forgot to recursively desugar the types of each component, and hence a record-in-a-record would trigger this bug. It survived for a long time though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant