shithub: mc

ref: d811a3c7a8fab7269e0798ee884d4d1363d913df
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
}