SIP-47 Clause Interleaving + Java = bad class file
error
#21195
Closed
xuwei-k
started this conversation in
General Discussion
Replies: 2 comments
-
so normally java generic signatures are uncurried. as we see here the subsequent value parameter lists are dropped. I suppose for type parameters they should be collapsed too (and naturally Java doesnt have dependent types anyway) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've converted this to an issue, let's have any further discussion there: #21346 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is this expected behavior? or we should/can fix this error? 🤔
A.scala
build.sbt
X.java
sbt compile
javap -v A.class
getGenericParameterTypes
andgetGenericReturnType
Beta Was this translation helpful? Give feedback.
All reactions