We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16271e commit a84e401Copy full SHA for a84e401
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -925,7 +925,7 @@ object SymDenotations {
925
/** The top-level class containing this denotation,
926
* except for a toplevel module, where its module class is returned.
927
*/
928
- def topLevelClass(implicit ctx: Context): Symbol = {
+ final def topLevelClass(implicit ctx: Context): Symbol = {
929
930
def topLevel(d: SymDenotation): Symbol =
931
if (!exists || d.isEffectiveRoot || (d is PackageClass) || (d.owner is PackageClass))
0 commit comments