shithub: mc

ref: 6f1419495d556e914f5a4afa05c5f3cc8b0e1849
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
}