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
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
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
There is no content yet.