Skip to content

Add support for Scala 3 #364

@ultrasecreth

Description

@ultrasecreth

Scala 3 has a ton of changes on the internals and more importantly, the macros.
mockito-scala makes heavy use of macros, reflection and it also relies on knowing how certain features are compiled/implemented so they can run in the JVM.

This means that pretty much a new lib has to be written for dotty.

My current line of thinking is that we need to:

  1. Implement the basic features for dotty in a separate branch/repo
  2. Dive in with the more complex ones
  3. Split out the public API from the existing project as a separate module
  4. Make the existent lib and the new one use and implement the new public API, so people can use them interchangeably and migrations are easier.
  5. Profit(?) :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions