Skip to content

Commit 785182d

Browse files
committed
Drop special handling of dotty (2)
1 parent 72d2bdd commit 785182d

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
@@ -370,8 +370,6 @@ object SymUtils:
370370
self.hasAnnotation(defn.ExperimentalAnnot)
371371
|| isDefaultArgumentOfExperimentalMethod
372372
|| (!self.is(Package) && self.owner.isInExperimentalScope)
373-
|| self.topLevelClass.ownersIterator.exists(p =>
374-
p.is(Package) && p.owner.isRoot && p.name == tpnme.dotty)
375373

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

0 commit comments

Comments
 (0)