Skip to content

Commit 7f83202

Browse files
committed
dbg inConstrCall
1 parent 1104492 commit 7f83202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ class Typer extends Namer
540540
def typedSuper(tree: untpd.Super, pt: Type)(implicit ctx: Context): Tree = {
541541
val qual1 = typed(tree.qual)
542542
val inConstrCall = pt match {
543-
case pt: SelectionProto if pt.name == nme.CONSTRUCTOR => true
543+
case pt: SelectionProto if pt.name == nme.CONSTRUCTOR => assert(false, s"$tree, ${ctx.owner.showLocated}, ${tree.sourcePos}"); true
544544
case _ => false
545545
}
546546
val enclosingInlineable = ctx.owner.ownersIterator.findSymbol(_.isInlineMethod)

0 commit comments

Comments
 (0)