blob: 8bf5fe32423e15a2a686ad57a815105db4fb3e39 (
plain) (
blame)
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
|
{
class D extends StaticAnnotation {
def <init>() = {
super.<init>();
()
}
};
class C extends AnyRef {
def <init>() = {
super.<init>();
()
}
};
val c1 = new C @D();
()
}
{
class D extends scala.annotation.Annotation with scala.annotation.StaticAnnotation {
def <init>(): D = {
D.super.<init>();
()
}
};
class C extends AnyRef {
def <init>(): C = {
C.super.<init>();
()
}
};
val c1: C = new C @D();
()
}
|