summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-31 11:04:21 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-31 11:04:21 +0100
commit99a44f846975a87f7dc2f121818c9570b0457b96 (patch)
tree0562814c260f3f73c4cddd18f2cb6a18262b1f20 /modules/gdscript/gdscript_parser.h
parent97de7f39e19ed3658073a6bb626bcafb33039a17 (diff)
parent5909f9f07547895de24fb6965d44c859b69a54a2 (diff)
downloadredot-engine-99a44f846975a87f7dc2f121818c9570b0457b96.tar.gz
Merge pull request #69248 from vonagam/fixing-typed-arrays
GDScript: Fix typed arrays
Diffstat (limited to 'modules/gdscript/gdscript_parser.h')
-rw-r--r--modules/gdscript/gdscript_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h
index 74e12d0b5e..bb4549c15c 100644
--- a/modules/gdscript/gdscript_parser.h
+++ b/modules/gdscript/gdscript_parser.h
@@ -190,7 +190,7 @@ public:
case SCRIPT:
return script_type == p_other.script_type;
case CLASS:
- return class_type == p_other.class_type;
+ return class_type == p_other.class_type || class_type->fqcn == p_other.class_type->fqcn;
case RESOLVING:
case UNRESOLVED:
break;