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
Exception in thread "main" java.lang.IllegalAccessError: failed to access class com.linecorp.armeria.client.endpoint.dns.DnsEndpointGroupBuilder from class TestSuite$package$
at TestSuite$package$.main(TestSuite.scala:14)
at main.main(TestSuite.scala:8)
It seems like when returning the SELF type, Scala3 tries to find the returned class AND superclasses for some reason.
It might be a better idea to steer clear of this pattern until Scala3 side applies a fix, or we decide to make builder superclasses public.
Running the following currently fails for scala 3 since 1.29.0 (PR)
(The following can be run from
{root_dir}/scala/scala_3
)It seems like when returning the SELF type, Scala3 tries to find the returned class AND superclasses for some reason.
It might be a better idea to steer clear of this pattern until Scala3 side applies a fix, or we decide to make builder superclasses public.
Link for reference: scala/scala3#21797
The text was updated successfully, but these errors were encountered: