shithub: mc

ref: 4d34688e0e2c6a69081856112fa818b3d02f644d
dir: /test/generic-in-const.myr/

View raw version
use std
/*
should fail to compile because generic types
are only allowed in generic declarations.
*/
const foo = {v : @a
	-> v
}