diff options
author | ocean (they/them) <anvilfolk@gmail.com> | 2023-01-18 09:12:27 -0500 |
---|---|---|
committer | ocean (they/them) <anvilfolk@gmail.com> | 2023-01-18 09:35:48 -0500 |
commit | 4854e723be33cea4ebeb1aa697cb0a0d2aa1108f (patch) | |
tree | 5da1993f4b4ab30c3a11077de4bd5a0b2e16005b /modules/gdscript/tests | |
parent | e514e3732a9588b650776cc962a9e4d8e6ded058 (diff) |
Fix unnammed enum crash regression
Diffstat (limited to 'modules/gdscript/tests')
-rw-r--r-- | modules/gdscript/tests/scripts/analyzer/features/enum_unnamed_depend.gd | 7 | ||||
-rw-r--r-- | modules/gdscript/tests/scripts/analyzer/features/enum_unnamed_depend.out | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/analyzer/features/enum_unnamed_depend.gd b/modules/gdscript/tests/scripts/analyzer/features/enum_unnamed_depend.gd new file mode 100644 index 0000000000..f351fc1f7b --- /dev/null +++ b/modules/gdscript/tests/scripts/analyzer/features/enum_unnamed_depend.gd @@ -0,0 +1,7 @@ +enum { + V1, + V2 = V1, +} + +func test(): + pass diff --git a/modules/gdscript/tests/scripts/analyzer/features/enum_unnamed_depend.out b/modules/gdscript/tests/scripts/analyzer/features/enum_unnamed_depend.out new file mode 100644 index 0000000000..d73c5eb7cd --- /dev/null +++ b/modules/gdscript/tests/scripts/analyzer/features/enum_unnamed_depend.out @@ -0,0 +1 @@ +GDTEST_OK |