shithub: mc

ref: fd1b8b6f31b7a8c2705c3ac01e46fd707c0d3c9e
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))
}