shithub: mc

ref: 1e4082af4e87a13f5babd52d0df55b7fdc8372c6
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
}