shithub: mc

ref: 2c8a0da890220d21e84f79b5d70c36e0434081fb
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
}