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
I have absolutely no idea of why in Scala 2 there are no breakpoints inside A+B$$amp$amp$#x in file RuntimeEvaluatorTests.scala:898
I launched the same program in a debug session and placed breakpoints on the whole method. Never reached them
I think I found the problem.
In Scala2Unpickler#skipScala:43 there is a matchingMethods.forAll(skip). If matchingMethods is empty (it did not find a proper method), it will return true. The quick fix would be to add a check matchingMethods.isEmpty
When digging a bit the problem seems to be with Scala2Unpickler#matchSymbol
matchName & matchSignature work as expected
matchOwner fails because String.split takes a regex and the class name is A$plusB, which is not a valid regex. So the problem appear to be with classes whose names contain special characters
I'll add the fix for the matchOwner but what should we do about the matchingMethods.isEmpty ?
what should we do about the matchingMethods.isEmpty ?
It skips the method on purpose because it assumes the method is a mixin-forwarder. An improvement which is on the todo list of @aymanelamyaghri is to find the mixin -forwarder in the trait to validate that it is indeed a mixin-forwader. Then we will be able to do what you suggest: skip should return false is the matchingMethods is empty.
I have absolutely no idea of why in Scala 2 there are no breakpoints inside
A+B$$amp$amp$#x
in fileRuntimeEvaluatorTests.scala:898
I launched the same program in a debug session and placed breakpoints on the whole method. Never reached them
Originally posted by @iusildra in #484 (comment)
The text was updated successfully, but these errors were encountered: