Compile-time error for unsupported types #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the library errors at runtime if a given struct contains an unsupported type. This because the
$compile_errorcomptime function currently doesn't work inside a comptime if statement.https://github.com/vlang/v/issues/15039
https://github.com/vlang/v/pull/16938