shithub: mc

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