You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I recenctly got this bug mockito/mockito-scala/issues/229 reported and after some digging it seems to be caused by what I think it may be a bug in the compiler.
reproduction steps
In the following scenario, the inheritance information is not present on the compiled Class (Tested in both 2.12.11 and 2.13.2)
That is unfortunately unavoidable. On the JVM, an interface cannot extend any class but Object. So if you look at Java reflection, which only uses the JVM type system, and not the Scala type system, you have no way of telling that the trait initially extended a class.
Hi there, I recenctly got this bug mockito/mockito-scala/issues/229 reported and after some digging it seems to be caused by what I think it may be a bug in the compiler.
reproduction steps
In the following scenario, the inheritance information is not present on the compiled Class (Tested in both 2.12.11 and 2.13.2)
problem
Running that code will print
expectation
It should print
extra details
If I run the following code it would actually print the expected result
The text was updated successfully, but these errors were encountered: