Skip to content

Commit a102921

Browse files
committed
Fix test
Another test slipped through. It seems using `_` for "inferred argument" is quite popular, even though it's not supported by the language.
1 parent a8afd92 commit a102921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-with-compiler-custom-args/staged-streams_1.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,10 @@ object Test {
358358
Linear(zip_producer(producer1, producer2))
359359

360360
case (Linear(producer1), Nested(producer2, nestf2)) =>
361-
pushLinear[Expr[A], _, B](producer1, producer2, nestf2)
361+
pushLinear[A = Expr[A], C = B](producer1, producer2, nestf2)
362362

363363
case (Nested(producer1, nestf1), Linear(producer2)) =>
364-
mapRaw[(B, Expr[A]), (Expr[A], B)]((t => k => '{ ~k((t._2, t._1)) }), pushLinear[B, _, Expr[A]](producer2, producer1, nestf1))
364+
mapRaw[(B, Expr[A]), (Expr[A], B)]((t => k => '{ ~k((t._2, t._1)) }), pushLinear[A = B, C = Expr[A]](producer2, producer1, nestf1))
365365

366366
case (Nested(producer1, nestf1), Nested(producer2, nestf2)) =>
367367
zipRaw[A, B](Linear(makeLinear(stream1)), stream2)

0 commit comments

Comments
 (0)