Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/transform/init/Objects.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
olhotak authored Oct 16, 2023
1 parent 231a4a7 commit 6c34ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/transform/init/Objects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ object Objects:
case _ => List()

val implicitArgsAfterScrutinee = evalArgs(implicits.map(Arg.apply), thisV, klass)
val args = implicitArgsBeforeScrutinee(fun) ++ (TraceValue(scrutinee, summon[Trace]) :: implicitArgsAfterScrtinee)
val args = implicitArgsBeforeScrutinee(fun) ++ (TraceValue(scrutinee, summon[Trace]) :: implicitArgsAfterScrutinee)
val unapplyRes = call(receiver, funRef.symbol, args, funRef.prefix, superType = NoType, needResolve = true)

if fun.symbol.name == nme.unapplySeq then
Expand Down

0 comments on commit 6c34ce4

Please sign in to comment.