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.
2 parents 457a463 + f1088e3 commit ef37ebfCopy full SHA for ef37ebf
compiler/src/dotty/tools/dotc/transform/PostTyper.scala
@@ -704,6 +704,7 @@ class PostTyper extends MacroTransform with InfoTransformer { thisPhase =>
704
case _ =>
705
if parents1 ne info.parents then info.derivedClassInfo(declaredParents = parents1)
706
else tp
707
+ case _ if sym.is(ConstructorProxy) => NoType
708
case _ => tp
709
710
private def argTypeOfCaseClassThatNeedsAbstractFunction1(sym: Symbol)(using Context): Option[List[Type]] =
0 commit comments