shithub: mc

ref: 75e90d91c0c50fb64812e61c21da8cbc8f1d3e5e
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
}