aboutsummaryrefslogtreecommitdiff
path: root/src/tilde.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-07-25 00:33:43 +0100
committergingerBill <bill@gingerbill.org>2023-07-25 00:33:43 +0100
commitb934e4b564e58c62b8c6848a71fe99b02c588a94 (patch)
treeb23f80418a5e33cf5c9595ad7b4b3aa9c567e215 /src/tilde.cpp
parent28c97a94670b2b1cad801e9e9d3b5d465f9435d8 (diff)
Implement basic runtime type information
This allows for `runtime.println_any` to work!
Diffstat (limited to 'src/tilde.cpp')
-rw-r--r--src/tilde.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tilde.cpp b/src/tilde.cpp
index 82d30215e..729b8fa1e 100644
--- a/src/tilde.cpp
+++ b/src/tilde.cpp
@@ -260,7 +260,7 @@ gb_internal isize cg_type_info_index(CheckerInfo *info, Type *type, bool err_on_
}
}
if (err_on_not_found) {
- GB_PANIC("NOT FOUND lb_type_info_index %s @ index %td", type_to_string(type), index);
+ GB_PANIC("NOT FOUND lb_type_info_index '%s' @ index %td", type_to_string(type), index);
}
return -1;
}