@@ -14,10 +14,10 @@ object scalatest {
1414
1515 Term .of(cond).underlyingArgument match {
1616 case t @ Apply (Select (lhs, op), rhs :: Nil ) =>
17- ValDef .let(lhs) { left =>
18- ValDef .let(rhs) { right =>
17+ ValDef .let(Symbol .spliceOwner, lhs) { left =>
18+ ValDef .let(Symbol .spliceOwner, rhs) { right =>
1919 val app = Select .overloaded(left, op, Nil , right :: Nil )
20- ValDef .let(app) { result =>
20+ ValDef .let(Symbol .spliceOwner, app) { result =>
2121 val l = left.asExpr
2222 val r = right.asExpr
2323 val b = result.asExprOf[Boolean ]
@@ -28,10 +28,10 @@ object scalatest {
2828 }.asExprOf[Unit ]
2929 case Apply (f @ Apply (Select (Apply (qual, lhs :: Nil ), op), rhs :: Nil ), implicits)
3030 if isImplicitMethodType(f.tpe) =>
31- ValDef .let(lhs) { left =>
32- ValDef .let(rhs) { right =>
31+ ValDef .let(Symbol .spliceOwner, lhs) { left =>
32+ ValDef .let(Symbol .spliceOwner, rhs) { right =>
3333 val app = Select .overloaded(Apply (qual, left :: Nil ), op, Nil , right :: Nil )
34- ValDef .let(Apply (app, implicits)) { result =>
34+ ValDef .let(Symbol .spliceOwner, Apply (app, implicits)) { result =>
3535 val l = left.asExpr
3636 val r = right.asExpr
3737 val b = result.asExprOf[Boolean ]
0 commit comments