shithub: mc

ref: 11f0b71e1df81a2764d6dc0de9903f9a6d6ef7a6
dir: /test/infermismatch.myr/

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