Compile-time error for unsupported types #1

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

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
Author
Owner
https://github.com/vlang/v/pull/16938
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/conf#1
No description provided.