shithub: mc

ref: 2002d2fa999d7efeb71aa64a32a1a87c2f4b8399
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
}