shithub: mc

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