shithub: mc

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