Skip to content

Commit bb9874c

Browse files
committed
Fix after rebase
1 parent bef8cce commit bb9874c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/run-with-compiler/reflect-select-copy/assert_1.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ object scalatest {
1515

1616
cond.unseal.underlyingArgument match {
1717
case Term.Apply(sel @ Term.Select(lhs, op), rhs :: Nil) =>
18-
let(lhs) { left =>
19-
let(rhs) { right =>
20-
let(Term.Apply(Term.Select.copy(sel)(left, op), right :: Nil)) { result =>
18+
let(lhs)(definitions.UnitType) { left =>
19+
let(rhs)(definitions.UnitType) { right =>
20+
let(Term.Apply(Term.Select.copy(sel)(left, op), right :: Nil))(definitions.UnitType) { result =>
2121
val l = left.seal[Any]
2222
val r = right.seal[Any]
2323
val b = result.seal[Boolean]
@@ -28,9 +28,9 @@ object scalatest {
2828
}.seal[Unit]
2929
case Term.Apply(f @ Term.Apply(Term.IsSelect(sel @ Term.Select(Term.Apply(qual, lhs :: Nil), op)), rhs :: Nil), implicits)
3030
if isImplicitMethodType(f.tpe) =>
31-
let(lhs) { left =>
32-
let(rhs) { right =>
33-
let(Term.Apply(Term.Apply(Term.Select.copy(sel)(Term.Apply(qual, left :: Nil), op), right :: Nil), implicits)) { result =>
31+
let(lhs)(definitions.UnitType) { left =>
32+
let(rhs)(definitions.UnitType) { right =>
33+
let(Term.Apply(Term.Apply(Term.Select.copy(sel)(Term.Apply(qual, left :: Nil), op), right :: Nil), implicits))(definitions.UnitType) { result =>
3434
val l = left.seal[Any]
3535
val r = right.seal[Any]
3636
val b = result.seal[Boolean]

0 commit comments

Comments
 (0)