We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a215ba commit 192d02cCopy full SHA for 192d02c
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