mirror of https://github.com/sbt/sbt.git
Add scripted scala3-tasty-management
This commit is contained in:
parent
d1cf3f80f6
commit
9911f1923f
|
|
@ -0,0 +1,3 @@
|
|||
ThisBuild / scalaVersion := "3.0.0-M2"
|
||||
|
||||
lazy val root = project.in(file("."))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
class A {
|
||||
def initialized: Boolean = false
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
class B {
|
||||
def foo(a: A): Boolean = a.initialized
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
> compile
|
||||
|
||||
$ exists target/scala-3.0.0-M2/classes/A.tasty
|
||||
$ exists target/scala-3.0.0-M2/classes/B.tasty
|
||||
|
||||
$ delete src/main/scala/B.scala
|
||||
|
||||
> compile
|
||||
|
||||
$ exists target/scala-3.0.0-M2/classes/A.tasty
|
||||
-$ exists target/scala-3.0.0-M2/classes/B.tasty
|
||||
Loading…
Reference in New Issue