shithub: mc

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