Skip to content

Commit 192d02c

Browse files
committed
Drop special handling of dotty (2)
1 parent 1a215ba commit 192d02c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/dotty/tools/dotc/transform/SymUtils.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,6 @@ object SymUtils:
352352
self.hasAnnotation(defn.ExperimentalAnnot)
353353
|| isDefaultArgumentOfExperimentalMethod
354354
|| (!self.is(Package) && self.owner.isInExperimentalScope)
355-
|| self.topLevelClass.ownersIterator.exists(p =>
356-
p.is(Package) && p.owner.isRoot && p.name == tpnme.dotty)
357355

358356
/** The declared self type of this class, as seen from `site`, stripping
359357
* all refinements for opaque types.

0 commit comments

Comments
 (0)