shithub: mc

ref: 0835c92d23bdea6e2a99c816617ecb02733b8414
dir: /test/infermismatch.myr/

View raw version
/*
should fail to compile after infering that a is a float, b is a char, and
the types are incompatible.
*/
const main = {
	var a
	var b

	a = 1.0
	b = 'a'
	a = b
}