mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 10:03:56 +02:00
setType to Block(...)
This commit is contained in:
@@ -321,7 +321,8 @@ final class ContextUtil[C <: blackbox.Context](val ctx: C) {
|
||||
case _ => Some(stat)
|
||||
}
|
||||
}
|
||||
Block(stats, super.transform(expr0))
|
||||
val expr = super.transform(expr0)
|
||||
Block(stats, expr).setType(expr.tpe)
|
||||
case _ => super.transform(tree)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user