summaryrefslogtreecommitdiff
path: root/test/files/pos/t8306.scala
blob: e04b054eb9bbc9f4eaae3962b0c0e2465252e5de (plain) (blame)
1
2
3
4
5
6
7
8
class Si8306 {
  def foo: Int = 123
  lazy val extension: Int =
      foo match {
          case idx if idx != -1 => 15
          case _ => 17
      }
}