Commit f64ce14
committed
Don't make superAccessors private
The previous logic made a super accessor private if it is put in a class (on behalf
of a nested trait). This caused compilation from Tasty to fail, since at the point
of Tasty generation the RHS of the accessor has not yet been generated (it will be
generated later in resolveSuper), and therefore Unpickler concluded that the method
is private and deferred, which is illegal.
Making it private is anyway pointless, since the super accessor is referred to from
an inner trait (that's why it was generated in the first place!) and therefore will
be made non-private later on.1 parent faa0a1b commit f64ce14
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments