shithub: mc

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