summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts
diff options
context:
space:
mode:
authorrune-scape <allie.smith.epic@gmail.com>2022-12-16 22:46:00 -0500
committerrune-scape <allie.smith.epic@gmail.com>2022-12-16 22:48:25 -0500
commit213c94b42fbb534bd33c9af144ecc3ecf93a2720 (patch)
tree1386d3178cbb185d2a3d1ddd9176269772468e35 /modules/gdscript/tests/scripts
parentf18f2740da9cce7383c2aa41fe8d081d56c8b6cf (diff)
Fix enum value regression
Diffstat (limited to 'modules/gdscript/tests/scripts')
-rw-r--r--modules/gdscript/tests/scripts/analyzer/features/out_of_order.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/analyzer/features/out_of_order.gd b/modules/gdscript/tests/scripts/analyzer/features/out_of_order.gd
index 069e54c528..11349cc916 100644
--- a/modules/gdscript/tests/scripts/analyzer/features/out_of_order.gd
+++ b/modules/gdscript/tests/scripts/analyzer/features/out_of_order.gd
@@ -42,7 +42,8 @@ const c2 := EV2
enum {
EV1 = 42,
- EV2 = EV3 + 1
+ UNUSED = EV3,
+ EV2
}
enum {