shithub: mc

ref: fb85c50fc2abd8ba903f72b59567b9e7f2e31c1c
dir: /test/generic.myr/

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

const main = {
	id("adsf")
	std.exit(id(42))
}