File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
scaladoc-testcases/src/tests
scaladoc/src/dotty/tools/scaladoc/tasty 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:
7575 given ctx : dotc.core.Contexts .Context = quotes.asInstanceOf [scala.quoted.runtime.impl.QuotesImpl ].ctx
7676 val sym = rsym.asInstanceOf [dotc.core.Symbols .Symbol ]
7777 // `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
8379 lookupPrefix.allMembers.iterator.map(_.symbol)
8480 .collect {
8581 case sym if
You can’t perform that action at this time.
0 commit comments