changed: union tags start indexing at 0, not 1
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 16 Jun 2023 21:11:10 +0000 (16:11 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 16 Jun 2023 21:11:10 +0000 (16:11 -0500)
commitec14aaf3498e3ef4df13e1661be02381203ce3e9
tree421360194e824bc2a3cb286b410471678be364f2
parent247c7006f63be73481e5648a1d705311e0a78a25
changed: union tags start indexing at 0, not 1

There were too many places were the fact the ZII was not followed for union types was too annoying.
compiler/src/astnodes.c
compiler/src/checker.c
compiler/src/types.c
compiler/src/wasm_emit.c