Skip to content

Commit 6c34ce4

Browse files
authored
Update compiler/src/dotty/tools/dotc/transform/init/Objects.scala
1 parent 231a4a7 commit 6c34ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ object Objects:
13041304
case _ => List()
13051305

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

13101310
if fun.symbol.name == nme.unapplySeq then

0 commit comments

Comments
 (0)