From: Fredrik Tolf Date: Sat, 5 Mar 2022 13:16:17 +0000 (+0100) Subject: Fixed root environment bug. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=14326e72a36b6bf9f6c31fff810eb226da5cb851;p=jrw.git Fixed root environment bug. --- 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();