shithub: mc

ref: b5c63138b4f40766dacc40e8ce91d44abdbb3b0e
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
}