shithub: mc

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