Skip to content

Scala 2 compat testing  #14922

Open
Open
@nicolasstucki

Description

@nicolasstucki

We currently support the suffixes c3.x.y to allow tests to compile part of the sources with a different compiler.
We should extend this to support Scala 2 as we have many issues related to compatibility that are not simple.

The idea is to be able to write these tests

// tests/pos/mytest/A_1_c2.13.8.scala
class Foo // Foo compiled with Scala 2
// tests/pos/mytest/B_2.scala
class Bar extends Foo // Foo used in Scala 3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions