From 14326e72a36b6bf9f6c31fff810eb226da5cb851 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sat, 5 Mar 2022 14:16:17 +0100 Subject: [PATCH] Fixed root environment bug. --- src/jrw/Environment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrw/Environment.java b/src/jrw/Environment.java index a93b149..57642e6 100644 --- a/src/jrw/Environment.java +++ b/src/jrw/Environment.java @@ -4,7 +4,7 @@ import java.util.*; import java.util.function.*; public class Environment { - public static final Environment root = new Environment(); + public static final Environment root = new Environment(null); private static final ThreadLocal current = new ThreadLocal<>(); public final Environment parent; private Map, Object> data = Collections.emptyMap(); -- 2.11.0