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 72d2bdd commit 785182dCopy full SHA for 785182d
compiler/src/dotty/tools/dotc/transform/SymUtils.scala
@@ -370,8 +370,6 @@ object SymUtils:
370
self.hasAnnotation(defn.ExperimentalAnnot)
371
|| isDefaultArgumentOfExperimentalMethod
372
|| (!self.is(Package) && self.owner.isInExperimentalScope)
373
- || self.topLevelClass.ownersIterator.exists(p =>
374
- p.is(Package) && p.owner.isRoot && p.name == tpnme.dotty)
375
376
/** The declared self type of this class, as seen from `site`, stripping
377
* all refinements for opaque types.
0 commit comments