Commit ca56c66
committed
Always compute asSeenFroms on opaque companion members
For a member of an opaque companion C, it makes a difference whether
the prefix is C or C.this - opaque aliases are visible for C.this but
not for C. So we can never omit an asSeenFrom on these members.1 parent 45c641c commit ca56c66
File tree
2 files changed
+4
-3
lines changed- compiler/src/dotty/tools/dotc/core
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
765 | | - | |
| 765 | + | |
766 | 766 | | |
767 | | - | |
| 767 | + | |
| 768 | + | |
768 | 769 | | |
769 | 770 | | |
770 | 771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments