shithub: mc

ref: 506eba89a05c1c8f2c9120beec55acfc9d756f4f
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
}