shithub: mc

ref: 13433d8aa8f5e97e4754916a70e177ff14214cfd
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
}