Skip to content

Commit e7e7eb5

Browse files
committed
Add test for scala#9916
1 parent dadbd6e commit e7e7eb5

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
scalaVersion := sys.props("plugin.scalaVersion")
2+
3+
libraryDependencies +=
4+
("com.twitter" %% "finagle-core" % "20.9.0").withDottyCompat(scalaVersion.value)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import com.twitter.finagle.Stack
2+
import com.twitter.finagle.liveness.FailureAccrualFactory
3+
4+
trait T {
5+
def p: FailureAccrualFactory.Param
6+
}
7+
8+
class A {
9+
val t = Stack.Param[FailureAccrualFactory.Param](FailureAccrualFactory.Param(???))
10+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % sys.props("plugin.version"))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
> compile

0 commit comments

Comments
 (0)