shithub: mc

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