shithub: mc

ref: 41dfa1df58c7e398a68e9c2b6f6f745b7b3f0b2b
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
}