We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc94526 commit 9f5a2a0Copy full SHA for 9f5a2a0
1 file changed
src/file_ext_meta.nim
@@ -21,7 +21,7 @@ type
21
Duo* {.size: sizeof(cint).} = enum
22
Good = 1
23
Bad = 2
24
- DuoSet* {.size: sizeof(cint).} = set[Duo]
+ DuoSet* = set[Duo]
25
26
proc toNum*(flags: DuoSet): int = #cast[cint](flags) # NOTE This is much shorter, but does not work at compile-time :/
27
var num = 0
0 commit comments