diff options
| author | gingerBill <bill@gingerbill.org> | 2023-07-16 23:41:51 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-07-16 23:41:51 +0100 |
| commit | d2d243cca8954e686a82f15a37a149c7938362d2 (patch) | |
| tree | b1030cf39008356bf277b163a246374d2233940b /src/tilde_stmt.cpp | |
| parent | ee8372145d62bf90c0fe43c78b96a02b6247321e (diff) | |
Mock out `cg_emit_conv`
Diffstat (limited to 'src/tilde_stmt.cpp')
| -rw-r--r-- | src/tilde_stmt.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tilde_stmt.cpp b/src/tilde_stmt.cpp index 2952539ca..2f2bdd55f 100644 --- a/src/tilde_stmt.cpp +++ b/src/tilde_stmt.cpp @@ -376,6 +376,10 @@ gb_internal void cg_build_assignment(cgProcedure *p, Array<cgAddr> const &lvals, for_array(i, inits) { cgAddr lval = lvals[i]; cgValue init = inits[i]; + if (init.type == nullptr) { + // TODO(bill): figure out how to do this + continue; + } cg_addr_store(p, lval, init); } |