Fix hintXDeclaredButNotUsed for enum fields marked as used
This commit is contained in:
parent
160a034643
commit
94a63eef9a
2 changed files with 7 additions and 1 deletions
|
|
@ -31,5 +31,10 @@ block:
|
|||
implementArithOpsNew(int)
|
||||
echoAdd 3, 5
|
||||
|
||||
type
|
||||
MyEnum {.used.} = enum
|
||||
Val1, Val2, Val3
|
||||
|
||||
|
||||
static:
|
||||
echo "compile end"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue