Compile-time error for unsupported types #1

Open
opened 2023-01-12 09:48:08 +01:00 by Jef Roosens · 1 comment

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

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
This repo is archived. You cannot comment on issues.
There is no content yet.