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
String interpolation: error spawned by ambiguous implicit leads to an SO #6436
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6436?orig=1 |
@retronym said: if (name != nme.CONSTRUCTOR && inExprModeOr(mode, PATTERNmode)) {
val qual1 = adaptToMemberWithArgs(tree, qual, name, mode, true, true)
if (qual1 ne qual)
return typed(treeCopy.Select(tree, qual1, name), mode, pt)
} To something like: if (qual1 ne tree) or if (!qual1.isErrorTyped) I haven't pinpointed why a formatted literal spins into an infinite loop, whereas the desugared expression recovers with a sensible type error. I might not be able to submit a PR for this for a day or two. |
@hubertp said: |
@retronym said (edited on Oct 1, 2012 11:32:07 AM UTC): This would be the same as |
@gkossakowski said (edited on Oct 2, 2012 3:45:35 PM UTC): Also, do you think it's critical (means: blocking 2.10.0)? |
@retronym said: I don't know yet why the problem only manifests in such a specific and limited case; it looks like it ought to break more often. |
@retronym said: |
@gkossakowski said: |
The text was updated successfully, but these errors were encountered: