diff options
Diffstat (limited to 'src/cli/runtime/AMap.cs')
-rw-r--r-- | src/cli/runtime/AMap.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli/runtime/AMap.cs b/src/cli/runtime/AMap.cs index 9db0a525..a34e1560 100644 --- a/src/cli/runtime/AMap.cs +++ b/src/cli/runtime/AMap.cs @@ -22,15 +22,15 @@ public class AMap HybridDictionary attrs; public static int INITIAL_SIZE = 7; -public Object put(Indexer key, Object val) +public Object put(Keyword key, Object val) { if(attrs == null) attrs = new HybridDictionary(INITIAL_SIZE); attrs[key] = val; return val; - } - -public Object get(Indexer key) + }
+
+public Object get(Keyword key) { if(attrs == null) return null; |