GDScript: Remove function of continue for match statement

The keyword is confusing and rarely is used in the intended way. It is
removed now in favor of a future feature (pattern guards) to avoid
breaking compatibility later.
This commit is contained in:
George Marques 2023-01-21 13:33:05 -03:00
parent 2ec0da1a75
commit 9462ae4783
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D
10 changed files with 5 additions and 76 deletions

View file

@ -3,8 +3,6 @@ func test():
match i:
"Hello":
print("hello")
# This will fall through to the default case below.
continue
"Good bye":
print("bye")
_: