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












                                   
class Top {
  val o = "Hi there!"
  var v = "Hi there!"
  type T
  val x: T
}

class Bot extends Top {
  override val o = "Ha! " + super.o
  val y: super.T = x
  super.v = "aa"
  println(super.v)
}