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 7aa744d commit a918722Copy full SHA for a918722
compiler/src/dotty/tools/dotc/transform/SymUtils.scala
@@ -352,8 +352,6 @@ object SymUtils:
352
self.hasAnnotation(defn.ExperimentalAnnot)
353
|| isDefaultArgumentOfExperimentalMethod
354
|| (!self.is(Package) && self.owner.isInExperimentalScope)
355
- || self.topLevelClass.ownersIterator.exists(p =>
356
- p.is(Package) && p.owner.isRoot && p.name == tpnme.dotty)
357
358
/** The declared self type of this class, as seen from `site`, stripping
359
* all refinements for opaque types.
0 commit comments