Revert "setType to Block(...)"

This reverts commit b62ddaa4e9.
This commit is contained in:
Eugene Yokota 2020-11-22 15:28:59 -05:00
parent f9478a0231
commit 903a155faf
1 changed files with 1 additions and 2 deletions

View File

@ -321,8 +321,7 @@ final class ContextUtil[C <: blackbox.Context](val ctx: C) {
case _ => Some(stat)
}
}
val expr = super.transform(expr0)
Block(stats, expr).setType(expr.tpe)
Block(stats, super.transform(expr0))
case _ => super.transform(tree)
}
}