Debian Codegraph @

modules/gdscript/tests/scripts/analyzer/errors/enum_unnamed_assign_to_named.gd

raw
1 enum { ENUM_VALUE_1, ENUM_VALUE_2 }
2
3 enum MyEnum { ENUM_VALUE_1, ENUM_VALUE_2 }
4
5 func test():
6 var local_var: MyEnum = ENUM_VALUE_1
7 print(local_var)