Skip to content

Commit 1d4abf4

Browse files
committed
bugfix: Fix one invocation after conflicts in a PR
1 parent 852f99c commit 1d4abf4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -2501,8 +2501,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
25012501
case rhs => typedExpr(rhs, tpt1.tpe.widenExpr)
25022502
}
25032503
val vdef1 = assignType(cpy.ValDef(vdef)(name, tpt1, rhs1), sym)
2504-
postProcessInfo(sym)
2505-
vdef1.setDefTree
2504+
postProcessInfo(vdef1, sym)
25062505
}
25072506

25082507
private def retractDefDef(sym: Symbol)(using Context): Tree =

0 commit comments

Comments
 (0)