shithub: mc

ref: 80f3197039716af937a80f3f3516c3c8af1a4b58
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
}