Skip to content

Commit b13116a

Browse files
committed
Fix places using unsupported lambda syntax
1 parent 5194716 commit b13116a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
scala> try { 0 } catch { _: Throwable => 1 }
1+
scala> try { 0 } catch { (_: Throwable) => 1 }
22
val res0: Int = 0

tests/run-staging/staged-streams_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ object Test {
437437
})
438438
case Many => producer.init(st => '{
439439
val oldnadv: Unit => Unit = ${nadv.get}
440-
val adv1: Unit => Unit = { _: Unit => {
440+
val adv1: Unit => Unit = { (_: Unit) => {
441441
if(${producer.hasNext(st)}) {
442442
${producer.step(st, k)}
443443
}

0 commit comments

Comments
 (0)