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 7d15704 commit 47884f3Copy full SHA for 47884f3
compiler/src/dotty/tools/dotc/transform/PostTyper.scala
@@ -252,9 +252,6 @@ class PostTyper extends MacroTransform with SymTransformer { thisTransformer =>
252
ctx.compilationUnit.source.exists &&
253
sym != defn.SourceFileAnnot)
254
sym.addAnnotation(Annotation.makeSourceFile(ctx.compilationUnit.source.file.path))
255
-
256
- // Add Child annotation to sealed parents unless current class is anonymous
257
- sym.registerIfChild()
258
tree
259
}
260
super.transform(tree)
0 commit comments