1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00
Files
godot/modules
George Marques 54a1414500 GDScript: Implement pattern guards for match statement
Within a match statement, it is now possible to add guards in each
branch:

	var a = 0
	match a:
		0 when false: print("does not run")
		0 when true: print("but this does")

This allows more complex logic for deciding which branch to take.
2023-09-27 11:25:25 -03:00
..
2023-05-11 14:32:47 +02:00
2023-04-12 19:27:23 -04:00
2023-08-29 19:24:22 +02:00
2023-04-18 10:20:48 +03:00
2023-09-26 22:43:44 +02:00
2023-09-26 22:43:44 +02:00
2023-09-26 22:43:44 +02:00
2023-09-15 21:32:23 +02:00