OverviewFilesCommitsIssuesDocsReleasesPeers

codetree / test / fixtures / derive / inferred.gd

9 lines · gd ref:
# `:=` inferred typing. The vendored lezer-gdscript grammar predates it and
# emits an error node inside TypeCast — the derivation must survive that and
# still name the wire.
var count := 0

func bump():
	count = count + 1
	return count