summaryrefslogblamecommitdiff
path: root/test/files/neg/scopes.scala
blob: 0083101b00867159ed20850d285de77b744da352 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                               
case class test0(x: int, x: float)

object test1 {
  val x: int = 0
  val x: float = .0f
  {
     val y: int = 0
     val y: float = .0f
     ()
  }
  def params(x: int, x: float) = x
  def curried(x: int)(y: int, y: float) = x + y
  (x: int, x: float) => x
}