shithub: mc

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