Dolda2000 GitWeb
/
jrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e00cf9e
)
Fixed root environment bug.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 5 Mar 2022 13:16:17 +0000
(14:16 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 5 Mar 2022 13:16:17 +0000
(14:16 +0100)
src/jrw/Environment.java
patch
|
blob
|
blame
|
history
diff --git
a/src/jrw/Environment.java
b/src/jrw/Environment.java
index
a93b149
..
57642e6
100644
(file)
--- 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<Environment> current = new ThreadLocal<>();
public final Environment parent;
private Map<Variable<?>, Object> data = Collections.emptyMap();