shithub: mc

ref: 8cb3f72ad2c0fe747e5178b7d593380550a07f76
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
}