shithub: mc

ref: 10a3edcf0264c6e2b878a230f4a77f8954b67d0d
dir: /test/match-badtypes.myr/

View raw version
/*
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
		;;
	;;
}