File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
scaladoc/src/dotty/tools/scaladoc/tasty
scaladoc-testcases/src/tests Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change
1
+ package tests .selftypes
2
+
3
+ class A :
4
+ def a : Unit = ???
5
+
6
+ class HasASelfType :
7
+ self : A =>
8
+ def b : Unit = ???
Original file line number Diff line number Diff line change @@ -75,11 +75,7 @@ object SyntheticsSupport:
75
75
given ctx : dotc.core.Contexts .Context = quotes.asInstanceOf [scala.quoted.runtime.impl.QuotesImpl ].ctx
76
76
val sym = rsym.asInstanceOf [dotc.core.Symbols .Symbol ]
77
77
// `lookupPrefix` is private in `QuotesImpl#SymbolMethods`
78
- val lookupPrefix =
79
- if sym.isClass then
80
- sym.thisType
81
- else
82
- sym.namedType
78
+ val lookupPrefix = sym.namedType
83
79
lookupPrefix.allMembers.iterator.map(_.symbol)
84
80
.collect {
85
81
case sym if
You can’t perform that action at this time.
0 commit comments