Skip to content

Commit 345cf7b

Browse files
committed
Make the directives order same as before
1 parent 0fde5f0 commit 345cf7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/build/src/main/scala/scala/build/preprocessing/ExtractedDirectives.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ object ExtractedDirectives {
9090
case _ => Nil // There should be nothing else here than UsingDefs or UsingDef
9191
}
9292

93-
Right(ExtractedDirectives(strictDirectives, directivesPositionOpt))
93+
Right(ExtractedDirectives(strictDirectives.reverse, directivesPositionOpt))
9494
}
9595
else
9696
maybeCompositeMalformedDirectiveError match {

0 commit comments

Comments
 (0)