diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/stanza/passes.stanza | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/stanza/passes.stanza b/src/main/stanza/passes.stanza index e34a8682..45aaf755 100644 --- a/src/main/stanza/passes.stanza +++ b/src/main/stanza/passes.stanza @@ -2185,7 +2185,7 @@ defn lower-types (m:Module) -> Module : defn lower-types-e (e:Expression) -> Expression : match(e) : (e:WRef|UIntValue|SIntValue) : e - (e:WSubField) : + (e:WSubField|WSubIndex) : match(kind(e)) : (k:InstanceKind) : val names = expand-name(e) @@ -2198,7 +2198,6 @@ defn lower-types (m:Module) -> Module : lower-mem(e)[0] else : e (k) : WRef(lowered-name(e),type(e),kind(e),gender(e)) - (e:WSubIndex) : WRef(lowered-name(e),type(e),kind(e),gender(e)) (e:DoPrim) : map(lower-types-e,e) match(map(lower-types-e,s)) : (s:DefWire|DefPoison) : |
