shithub: mc

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