shithub: mc

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