shithub: mc

ref: 20cea781b95e1a6c1fa2f6cd2bb6c05ec9a4480d
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
}