shithub: mc

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