shithub: mc

ref: 39b688e8d0e8daee5eb55a207841001fae056287
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
}