Skip to content

Commit df6db9a

Browse files
committed
Update test
1 parent 7bc9741 commit df6db9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-with-compiler-custom-args/tasty-interpreter/interpreter/TreeInterpreter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class TreeInterpreter[R <: Reflection & Singleton](val reflect: R) {
1818
def localValue(sym: Symbol)(implicit env: Env): LocalValue = env(sym)
1919

2020
def withLocalValue[T](sym: Symbol, value: LocalValue)(in: (given Env) => T)(implicit env: Env): T =
21-
in given env.updated(sym, value)
21+
in(given env.updated(sym, value))
2222

2323
def withLocalValues[T](syms: List[Symbol], values: List[LocalValue])(in: (given Env) => T)(implicit env: Env): T =
2424
in(given env ++ syms.zip(values))

0 commit comments

Comments
 (0)