aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/stanza/errors.stanza1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/stanza/errors.stanza b/src/main/stanza/errors.stanza
index a45e1c8c..63199b4b 100644
--- a/src/main/stanza/errors.stanza
+++ b/src/main/stanza/errors.stanza
@@ -845,6 +845,7 @@ public defn check-init (c:Circuit) :
match(e) :
(e:WRef) : name(e)
(e:WSubField) : symbol-join([get-name(exp(e)) `. name(e)])
+ (e:WSubIndex) : symbol-join([get-name(exp(e)) to-symbol("[") value(e) to-symbol("]")])
(e) : error("Shouldn't be here")
defn has-void? (e:Expression) -> True|False :
var void? = false