Skip to content

Can't use nightly build of dotty as a runtime dependency from 2.13.8 #12542

Open
@adampauls

Description

@adampauls

reproduction steps

Include a nightly build of dotty as a runtime dependency using
"org.scala-lang" %% "scala3-compiler" % "3.1.3-RC1-bin-20220221-3ca087c-NIGHTLY".

In a program run with Scala 2.13.8.

problem

I get this error message

[error] TASTy signature has wrong version.
[error]  expected: {majorVersion: 28, minorVersion: 1}
[error]  found   : {majorVersion: 28, minorVersion: 2 [unstable release: 1]}

I think this is probably intended behavior, but it would be nice if there were a way to work around it to experiment with nightlies.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions