From 09bdc885cf6d07a531e78827f168affb31fa90b5 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Mon, 15 Jan 2018 11:28:15 -0800 Subject: - Test cases for `basePath` behavior in cross-builds - Avoid reversing the order of cross values when there are more than one provided - Remove now-duplicate `indirectNestedCross` test case --- core/src/main/scala/mill/define/Cross.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/main/scala') diff --git a/core/src/main/scala/mill/define/Cross.scala b/core/src/main/scala/mill/define/Cross.scala index 58f9a158..8af8e2e3 100644 --- a/core/src/main/scala/mill/define/Cross.scala +++ b/core/src/main/scala/mill/define/Cross.scala @@ -55,7 +55,7 @@ class Cross[T](cases: Any*) case p: Product => p case v => Tuple1(v) } - val crossValues = c.productIterator.toList.reverse + val crossValues = c.productIterator.toList val relPath = ctx.segment match{ case Segment.Label(s) => ammonite.ops.empty / s case Segment.Cross(vs) => ammonite.ops.empty / vs.map(_.toString) -- cgit v1.2.3