summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser/features/export_variable.gd
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2024-06-20 13:05:29 +0300
committerDanil Alexeev <danil@alexeev.xyz>2024-06-20 14:30:12 +0300
commit24b6edcd388836910655689fd6dd7bc3717ff256 (patch)
tree28827ec5c5299e67240324700c8bd3ca415b8691 /modules/gdscript/tests/scripts/parser/features/export_variable.gd
parentb75f0485ba15951b87f1d9a2d8dd0fcd55e178e4 (diff)
downloadredot-engine-24b6edcd388836910655689fd6dd7bc3717ff256.tar.gz
GDScript: Fix non-global class export
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/features/export_variable.gd')
-rw-r--r--modules/gdscript/tests/scripts/parser/features/export_variable.gd6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/gdscript/tests/scripts/parser/features/export_variable.gd b/modules/gdscript/tests/scripts/parser/features/export_variable.gd
index 483e6cab0d..8bcb2bcb9a 100644
--- a/modules/gdscript/tests/scripts/parser/features/export_variable.gd
+++ b/modules/gdscript/tests/scripts/parser/features/export_variable.gd
@@ -2,7 +2,8 @@ class_name ExportVariableTest
extends Node
const Utils = preload("../../utils.notest.gd")
-const PreloadedScript = preload("./export_variable.notest.gd")
+const PreloadedGlobalClass = preload("./export_variable_global.notest.gd")
+const PreloadedUnnamedClass = preload("./export_variable_unnamed.notest.gd")
# Built-in types.
@export var test_weak_int = 1
@@ -24,7 +25,8 @@ const PreloadedScript = preload("./export_variable.notest.gd")
# Global custom classes.
@export var test_global_class: ExportVariableTest
-@export var test_preloaded_script: PreloadedScript
+@export var test_preloaded_global_class: PreloadedGlobalClass
+@export var test_preloaded_unnamed_class: PreloadedUnnamedClass # GH-93168
# Arrays.
@export var test_array: Array