mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
cgen,markused: remove unused enum declarations too (#25033)
This commit is contained in:
parent
3b7ada1621
commit
b74e60b5a2
5 changed files with 6 additions and 2 deletions
|
@ -729,6 +729,7 @@ fn (t Tree) enum_decl(node ast.EnumDecl) &Node {
|
|||
obj.add('comments', t.array_node_comment(node.comments))
|
||||
obj.add_terse('attrs', t.array_node_attr(node.attrs))
|
||||
obj.add_terse('typ', t.type_node(node.typ))
|
||||
obj.add_terse('enum_typ', t.type_node(node.enum_typ))
|
||||
return obj
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue