Merge pull request #80964 from dalexeev/gds-allow-use-local-consts-as-types

GDScript: Allow use local constants as types
This commit is contained in:
Yuri Sizov 2023-08-25 21:26:44 +02:00
commit b6c4efe1b1
12 changed files with 236 additions and 122 deletions

View file

@ -859,9 +859,7 @@ public:
struct IdentifierNode : public ExpressionNode {
StringName name;
#ifdef DEBUG_ENABLED
SuiteNode *suite = nullptr; // The block in which the identifier is used.
#endif
enum Source {
UNDEFINED_SOURCE,