Compile-time error for unsupported types #1
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently the library errors at runtime if a given struct contains an unsupported type. This because the
$compile_error
comptime function currently doesn't work inside a comptime if statement.https://github.com/vlang/v/issues/15039
https://github.com/vlang/v/pull/16938