-
Notifications
You must be signed in to change notification settings - Fork 1.1k
compiler crash with tuple type bounds #6371
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
Looks like a bootstrap problem. |
It looks like after inlining an error is emitted on a position of the inlined method in |
It can be reproduced using the following files and commands object A {
inline def foo(a: Any): Unit = a match {
case _: Int => print("int")
case _ => print("other")
}
}
object B {
A.foo("aa")
} dotc A.scala
rm A.scala
dotc -classpath . B.scala |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2019
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2019
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2019
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2019
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 1, 2019
nicolasstucki
added a commit
that referenced
this issue
May 6, 2019
Fix #6371: Make error message rendering resilient to missing sources
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 8, 2022
michelou
pushed a commit
to michelou/scala3
that referenced
this issue
Apr 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I edited a method signature from:
to
and it crashed with
Full message:
The text was updated successfully, but these errors were encountered: