summaryrefslogtreecommitdiff
path: root/test/files/neg/t8217-local-alias-requires-rhs.scala
blob: 12b7976835c6d3d86b9386169f7898248548039d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
trait Alias {
  def foo = {
    type A
  }
  val bar = {
    type B
    object O {
      type OK
    }
  }
}

class C {
  def this(a: Any) = { this(); type C }
}