OverviewFilesCommitsIssuesDocsReleasesPeers

nvidia-rtx-godot / modules / gdscript / tests / scripts / analyzer / features / cast_enum_to_int.gd

9 lines · gd ref:
# GH-85882

enum Foo { A, B, C }

func test():
	var a := Foo.A
	var b := a as int + 1
	print(b)