We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc9741 commit df6db9aCopy full SHA for df6db9a
tests/run-with-compiler-custom-args/tasty-interpreter/interpreter/TreeInterpreter.scala
@@ -18,7 +18,7 @@ abstract class TreeInterpreter[R <: Reflection & Singleton](val reflect: R) {
18
def localValue(sym: Symbol)(implicit env: Env): LocalValue = env(sym)
19
20
def withLocalValue[T](sym: Symbol, value: LocalValue)(in: (given Env) => T)(implicit env: Env): T =
21
- in given env.updated(sym, value)
+ in(given env.updated(sym, value))
22
23
def withLocalValues[T](syms: List[Symbol], values: List[LocalValue])(in: (given Env) => T)(implicit env: Env): T =
24
in(given env ++ syms.zip(values))
0 commit comments