Skip to content

Commit ed2eaf8

Browse files
committed
Part 7 - implement Cross.Factory macro (TODO split shims out)
- fix scanning of Cross modules in Discover macro - improvement: check factory value matches crossValueN
1 parent d52335c commit ed2eaf8

File tree

6 files changed

+473
-118
lines changed

6 files changed

+473
-118
lines changed

example/depth/cross/6-axes-extension/build.mill

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ trait FooModule3 extends FooModule2 with Cross.Module3[String, Int, Boolean] {
5656

5757
> mill show foo3[b,2,false].param3
5858
error: ...object foo3 extends Cross[FooModule3](("a", 1), ("b", 2))
59-
error: ... ^
60-
error: ...value _3 is not a member of (String, Int)
61-
*/
59+
error: ... ^^^^^^^^
60+
error: ...expected at least 3 elements, got 2...
61+
error: ...object foo3 extends Cross[FooModule3](("a", 1), ("b", 2))
62+
error: ... ^^^^^^^^
63+
error: ...expected at least 3 elements, got 2...
64+
*/

0 commit comments

Comments
 (0)