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
Fix#11276: Scala.js: Take JUnit tests from superclasses/traits into account.
The Scala 2 code uses
owner.info.members.filter(m => m.isMethod && m.hasAnnotation(annot))
for the equivalent operation.
The code in Scala 3 used `decls` instead of `members`, which is
clearly incorrect. This commit fixes the discrepancy.
This was tested manually by making sure that
> sjsJUnitTests/testOnly org.scalajs.testsuite.javalib.util.ArrayListTest
runs 40 tests, and not just 1. It is not clear how to write
automated tests for this fix.
0 commit comments