Skip to content

Commit bc98ce8

Browse files
committed
Use correct trace
1 parent fb3b6ca commit bc98ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/init/Semantic.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ object Semantic {
913913
val paramValues = tpl.constr.termParamss.flatten.map(param => param.symbol -> Hot).toMap
914914

915915
given Promoted = Promoted.empty
916-
given Trace = Trace.empty
916+
given Trace = task.trace
917917
given Env = Env(paramValues)
918918

919919
eval(tpl, thisRef, thisRef.klass)

0 commit comments

Comments
 (0)