shithub: mc

ref: 0c0a9801c0e2b92832a9f91d6a6e7f94e8ba277d
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
}