shithub: mc

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