Skip to content

Commit

Permalink
Test interpolation of keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
som-snytt committed Sep 2, 2021
1 parent a9cc45a commit 7807527
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/neg-custom-args/fatal-warnings/i13440.scala
@@ -0,0 +1,7 @@
import language.`3.0-migration`

def given = 42 // error

case class C(enum: List[Int] = Nil) { // error
val s = s"$enum" // error
}

0 comments on commit 7807527

Please sign in to comment.