diff options
| author | gingerBill <bill@gingerbill.org> | 2023-07-25 00:33:43 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-07-25 00:33:43 +0100 |
| commit | b934e4b564e58c62b8c6848a71fe99b02c588a94 (patch) | |
| tree | b23f80418a5e33cf5c9595ad7b4b3aa9c567e215 /src/tilde_builtin.cpp | |
| parent | 28c97a94670b2b1cad801e9e9d3b5d465f9435d8 (diff) | |
Implement basic runtime type information
This allows for `runtime.println_any` to work!
Diffstat (limited to 'src/tilde_builtin.cpp')
| -rw-r--r-- | src/tilde_builtin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tilde_builtin.cpp b/src/tilde_builtin.cpp index e30ff1cb0..edf436424 100644 --- a/src/tilde_builtin.cpp +++ b/src/tilde_builtin.cpp @@ -267,8 +267,7 @@ gb_internal cgValue cg_build_builtin(cgProcedure *p, BuiltinProcId id, Ast *expr pos = e->token.pos; } - GB_PANIC("TODO(bill): cg_emit_source_code_location_as_global"); - // return cg_emit_source_code_location_as_global(p, procedure, pos); + return cg_emit_source_code_location_as_global(p, procedure, pos); } break; case BuiltinProc_len: { |