aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 861aa5bf8..cb353516d 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -4688,6 +4688,7 @@ gb_internal Type *type_internal_index(Type *t, isize index) {
};
GB_PANIC("Unhandled type %s", type_to_string(bt));
+ return nullptr;
};
gb_internal gbString write_type_to_string(gbString str, Type *type, bool shorthand=false, bool allow_polymorphic=false) {