shithub: mc

ref: 9ac459c0cc5beac10be8ba3310af6edd89b1849c
dir: /test/generic.myr/

View raw version
/* checks that simple generics are specialized correctly. exits with 42. */
generic id = {a:@a
	-> a
}

const main = {
	id("adsf")
	-> id(42)
}