Can we have a clean compile result for trait?

refs: Rewrite org.apache.pekko.japi.function.* in Java? · Issue #2185 · apache/pekko · GitHub

When I use IDEA to select the trait function, it shows an $class , Is there any way to get around that? I think the trait is very simple, I don’t expect any $class there, thanks.

A minimal example would help.

What version of the IDE, of Scala, and of Pekko?

There is no such artifact when building Pekko with sbt, apparently.

What does the screenshot show? What is the “trait function”?

I’d be willing to try out some steps, but IJ just did the dance where I have to update repeatedly so Scala nightly is compatible. Now I have the version with an AI button.

    <dependency>
        <groupId>org.apache.pekko</groupId>
        <artifactId>pekko-stream_3</artifactId>
        <version>1.2.0</version>
    </dependency>