shithub: mc

ref: 21f7a2a7739a70ebb14ce748e5806505da63d043
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
}