-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unexpected type tag TYPEBOUNDS at address Addr(298) #356
Comments
So this one is really a dotc issue: scala/scala3#18649 |
Shouldn't we handle it anyway? seems like dotty doesnt crash |
If I compile object Test:
def test =
val a = example.A()
given String = "abc"
given Int = 1
a.m(23)
a.m()
a.m("abc")
a.mbis error: Compiling project (Scala 3.3.1, JVM)
[error] ./bar.scala:9:11
[error] No given instance of type ?1.scala$ContextFunction1$$T1 was found for parameter of (?) ?=> String
[error]
[error] where: ?1 is an unknown value of type (?) ?=> String
[error] a.mbis
[error] ^
Error compiling project (Scala 3.3.1, JVM) |
No I really don't think we can or want to handle this. It's fundamentally invalid. It's like declaring a |
The issue was fixed upstream. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: