store(ini): panic on invalid type
This commit is contained in:
parent
f5e9ec0cde
commit
fe44017128
@ -257,7 +257,7 @@ ini_parse_and_set_pointer_by_base_type :: proc(ptr: rawptr, str: string, type_in
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return false
|
fmt.panicf("INI: Invalid type for INI Unmarshaler '%v'", type_info)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user