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
Race condition in presentation compiler askTypeAt
#8135
Comments
Imported From: https://issues.scala-lang.org/browse/SI-8135?orig=1 |
@dotta said: |
@retronym said:
|
@retronym said: scala.this.Predef.implicitly[Foo[A]](evidence$7).foo When it fails, we see: implicitly[Foo[A]].foo(x$7) Find the "x$7", and we'll be close the the culprit. Hopefully this will just entail a refinement of the fix for #7558. |
@retronym said: |
As this PR demonstrates, there is a race condition when
askTypeAt(pos)
is called onimplicitly[Foo[A]].foo
wherepos
is matches the end point of the former expression. The issue is that the returned Tree is unattributed, which is why the errorNo symbol is associated with tree implicitly[Foo[A]].foo
is reported.I'm going to move the spuriously failing test in
pending
, but would be good to look at it at some point.The text was updated successfully, but these errors were encountered: