Skip to content

Commit a84e401

Browse files
committed
Make topLevelClass final again
1 parent e16271e commit a84e401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/SymDenotations.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ object SymDenotations {
925925
/** The top-level class containing this denotation,
926926
* except for a toplevel module, where its module class is returned.
927927
*/
928-
def topLevelClass(implicit ctx: Context): Symbol = {
928+
final def topLevelClass(implicit ctx: Context): Symbol = {
929929

930930
def topLevel(d: SymDenotation): Symbol =
931931
if (!exists || d.isEffectiveRoot || (d is PackageClass) || (d.owner is PackageClass))

0 commit comments

Comments
 (0)