Merge pull request #80085 from vnen/gdscript-pattern-guards
GDScript: Implement pattern guards for match statement
This commit is contained in:
@ -949,6 +949,7 @@ public:
|
||||
Vector<PatternNode *> patterns;
|
||||
SuiteNode *block = nullptr;
|
||||
bool has_wildcard = false;
|
||||
SuiteNode *guard_body = nullptr;
|
||||
|
||||
MatchBranchNode() {
|
||||
type = MATCH_BRANCH;
|
||||
|
||||
Reference in New Issue
Block a user