shithub: mc

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