shithub: mc

ref: 62a1e11f24271590c45158432b60fcceefab7c4f
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
}