summaryrefslogtreecommitdiff
path: root/test/generic-in-const.myr
blob: 5198970f7e4299ae81592111d21a4c593144a7ac (plain)
1
2
3
4
5
6
7
8
use std
/*
should fail to compile because generic types
are only allowed in generic declarations.
*/
const foo = {v : @a
	-> v
}