shithub: mc

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