Skip to content

Commit 7807527

Browse files
committed
Test interpolation of keyword
1 parent a9cc45a commit 7807527

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import language.`3.0-migration`
2+
3+
def given = 42 // error
4+
5+
case class C(enum: List[Int] = Nil) { // error
6+
val s = s"$enum" // error
7+
}

0 commit comments

Comments
 (0)