-
Notifications
You must be signed in to change notification settings - Fork 1.1k
spurious ambiguous overload with Tasty, GADTs and cake pattern #9074
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
Comments
I tried the minimization with |
Might have been fixed by the last commit f47f51b |
No it was a commit before that: Something about black magic to make it compile. I have now pushed a version without the black magic that exhibits the error. The test itself is in tests/pending/pos/cps-async-failure.scala |
The black magic just picked one of two conflicting denotations. It was wrong half of the time, but happened to be right for this particular problem in cps-async. But then there were other problems, so I had to disable cps-async in the end. |
I have pushed a new #9063 that exhibits the failure. |
The test case is in tests/pending/pos/cps-async-failure.scala |
I can't make it compile anymore with latest Tasty, so let's close. |
Uh oh!
There was an error while loading. Please reload this page.
Minimized code
The following is a minimization of the cps-async project which starts failing after #9063.
Somewhat depressingly, I could not make it smaller than that. There are lots of elements that need to appear in exactly the order given, or the error will go away.
Output
Expectation
Should compile. There is only one method
g
.Previously, the error was hidden by the somewhat arbitrary disambiguation in
mergeDenots
. But it was always there, and manifested itself in the project with a wrong exhaustivity warning.It might be a cache invalidation problem. But probably not one of the caches under control from Config. I tried to turn these caches off, but the error still persisted.
The text was updated successfully, but these errors were encountered: