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
scala.reflect.internal.Types$TypeError: ambiguous reference to overloaded definition #7242
Comments
Imported From: https://issues.scala-lang.org/browse/SI-7242?orig=1 |
@adriaanm said: |
Knut Arne Vedaa (kavedaa) said: Stack trace:
|
@retronym said: |
@hubertp said: |
Knut Arne Vedaa (kavedaa) said: Relevant file: https://github.com/kavedaa/allegretto/blob/0.3/src/test/scala/no/allegretto/test/feature/crash.scala The error is introduced in the latest commit. It seems to be an issue with a companion object extending its companion trait. |
@retronym said:
Could please post a transcript that shows how to reproduce? |
@retronym said: |
@retronym said: class CrashTest {
trait CrashTestTable {
def cols = 1
}
object CrashTestTable extends CrashTestTable
} |
@retronym said: |
@paulp said: |
I got the following compiler crash when compiling some code which I'm unfortunately not able to reduce to a simple reproducible example. Hopefully the information is helpful still. (I can provide a GitHub project with crashable code if needed.)
The text was updated successfully, but these errors were encountered: