Skip to content

Commit 157bc03

Browse files
committed
Fix mistake in scala#11584
1 parent 5e0100d commit 157bc03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/ast/Desugar.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ object desugar {
919919
case ValDefs(vparam :: Nil) =>
920920
if !vparam.mods.is(Given) then
921921
val (leadingUsing, otherExtParamss) = ext.paramss.span(isUsingOrTypeParamClause)
922-
leadingUsing ::: params1 :: otherExtParamss ::: paramss1
922+
leadingUsing ::: params :: otherExtParamss ::: paramss1
923923
else badRightAssoc("cannot start with using clause")
924924
case _ =>
925925
noVParam

0 commit comments

Comments
 (0)