forked from scala/scala3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
i620.check
33 lines (32 loc) · 1.03 KB
/
i620.check
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[[syntax trees at end of typer]] // tests/printing/i620.scala
package O {
package O.A {
class D() extends Object() {
class C() extends Object() {
protected[D] def a: Int = 0
private[D] def b: Int = 0
private[this] def c: Int = 0
protected def d: Int = 0
private[A] def e: Int = 0
protected[A] def f: Int = 0
def g: Int = 0
def g1(t: Int): Int = 0
extension (c: D.this.C) def g1: Int = 0
}
private[D] class E() extends Object() {}
private[this] class F() extends Object() {}
private[A] class G() extends Object() {}
protected[D] class H() extends Object() {}
protected class I() extends Object() {}
protected[A] class J() extends Object() {}
class K() extends Object() {}
protected[D] val a: Int = 0
private[D] val b: Int = 0
private[this] val c: Int = 0
protected val d: Int = 0
private[A] val e: Int = 0
protected[A] val f: Int = 0
val g: Int = 0
}
}
}