shithub: mc

ref: 30ae6dbd5eb7c7f8c9c76a32723dd33c5f90978b
dir: /test/match-badtypes.myr/

View raw version
use std
/*
should fail to compile because
all types matched over should be
compatible. Strings are not compatible
with integers.
*/
const foo = {
	match 123
	"asdf":	123
		;;
	234:	888
		;;
	;;
}