blob: 6ab5ddfaf11a181c122aa7758804e538d283828d (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
t3871b.scala:61: error: not found: value protOT
protOT // not allowed
^
t3871b.scala:77: error: method prot in class A cannot be accessed in E.this.A
Access to protected method prot not permitted because
prefix type E.this.A does not conform to
class B in class E where the access take place
a.prot // not allowed, prefix type `A` does not conform to `B`
^
t3871b.scala:79: error: value protT is not a member of E.this.B
b.protT // not allowed
^
t3871b.scala:80: error: value protT is not a member of E.this.C
c.protT // not allowed
^
t3871b.scala:81: error: value protT is not a member of E.this.A
a.protT // not allowed
^
t3871b.scala:91: error: method prot in class A cannot be accessed in E.this.A
Access to protected method prot not permitted because
prefix type E.this.A does not conform to
object B in class E where the access take place
a.prot // not allowed
^
t3871b.scala:93: error: value protT is not a member of E.this.B
b.protT // not allowed
^
t3871b.scala:94: error: value protT is not a member of E.this.C
c.protT // not allowed
^
t3871b.scala:95: error: value protT is not a member of E.this.A
a.protT // not allowed
^
t3871b.scala:102: error: method prot in class A cannot be accessed in E.this.B
Access to protected method prot not permitted because
enclosing class Z in class E is not a subclass of
class A in class E where target is defined
b.prot // not allowed
^
t3871b.scala:103: error: method prot in class A cannot be accessed in E.this.C
Access to protected method prot not permitted because
enclosing class Z in class E is not a subclass of
class A in class E where target is defined
c.prot // not allowed
^
t3871b.scala:104: error: method prot in class A cannot be accessed in E.this.A
Access to protected method prot not permitted because
enclosing class Z in class E is not a subclass of
class A in class E where target is defined
a.prot // not allowed
^
t3871b.scala:109: error: value protT is not a member of E.this.B
b.protT // not allowed
^
t3871b.scala:110: error: value protT is not a member of E.this.C
c.protT // not allowed
^
t3871b.scala:111: error: value protT is not a member of E.this.A
a.protT // not allowed
^
t3871b.scala:120: error: method prot in class A cannot be accessed in Other.this.e.B
Access to protected method prot not permitted because
enclosing class Other is not a subclass of
class A in class E where target is defined
b.prot // not allowed
^
t3871b.scala:121: error: method prot in class A cannot be accessed in Other.this.e.C
Access to protected method prot not permitted because
enclosing class Other is not a subclass of
class A in class E where target is defined
c.prot // not allowed
^
t3871b.scala:122: error: method prot in class A cannot be accessed in Other.this.e.A
Access to protected method prot not permitted because
enclosing class Other is not a subclass of
class A in class E where target is defined
a.prot // not allowed
^
t3871b.scala:123: error: method protE in class A cannot be accessed in Other.this.e.B
Access to protected method protE not permitted because
enclosing class Other is not a subclass of
class A in class E where target is defined
b.protE // not allowed
^
t3871b.scala:124: error: method protE in class A cannot be accessed in Other.this.e.A
Access to protected method protE not permitted because
enclosing class Other is not a subclass of
class A in class E where target is defined
a.protE // not allowed
^
t3871b.scala:125: error: method protE in class A cannot be accessed in Other.this.e.C
Access to protected method protE not permitted because
enclosing class Other is not a subclass of
class A in class E where target is defined
c.protE // not allowed
^
21 errors found
|