From fe44017128ed9faa56edf7e2c6ca859baf205a96 Mon Sep 17 00:00:00 2001 From: RoBaertschi Date: Fri, 20 Jun 2025 12:54:12 +0200 Subject: [PATCH] store(ini): panic on invalid type --- store/ini.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/ini.odin b/store/ini.odin index 3399459..a8980d4 100644 --- a/store/ini.odin +++ b/store/ini.odin @@ -257,7 +257,7 @@ ini_parse_and_set_pointer_by_base_type :: proc(ptr: rawptr, str: string, type_in return false } } else { - return false + fmt.panicf("INI: Invalid type for INI Unmarshaler '%v'", type_info) } }