Skip to content

Can't use Scala collections methods in code generation #9

@DavidGregory084

Description

@DavidGregory084

For some reason as of Scala 2.13 it doesn't seem to be possible to use the Scala library when running javac as an annotation processor through Zinc. It simply results in NoSuchMethodErrors for every Scala collection method.

I have had to use -Yno-imports and Java 8 Streams in the codegen module, which has resulted in some terrible code. Who knew last was so difficult to write in Java 8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions