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