Skip to content

Bug in string_of_type for generic placeholders #80

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

Open
gaurangsadekar opened this issue May 12, 2016 · 0 comments
Open

Bug in string_of_type for generic placeholders #80

gaurangsadekar opened this issue May 12, 2016 · 0 comments

Comments

@gaurangsadekar
Copy link
Collaborator

Remembered this issue right now, I had found it yesterday.
This was working correctly earlier, before the pretty placeholders commit (8e5d6ea).

Expressions and incorrect outputs:

/\(x, y) => x;
/\ (x : A, y : A) : A = { { (x: A) } }

/\(x, y) => y;
/\ (x : A, y : A) : A = { { (y: A) } }

/\(x: B, y: A) => y;
/\ (x : A, y : A) : A = { { (y: A) } }

/\(x: T, y: U) => y;
/\ (x : A, y : A) : A = { { (y: A) } }

Seems like there is some problem with the naming of place holders, given that they always start with A.

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

No branches or pull requests

1 participant