shithub: mc

ref: 4a1f9034d1e1c0f21a9c677c0b04b61aea3d3121
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
}