ref: 7ab719c1cfcf8d671ac7f828beed8457df58c5a8
parent: e58d30a59ec10780261848f93dd9971cf3860e3d
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jul 28 21:46:27 EDT 2012
Fix infer mismatch test. Since char is now numeric, assigning literal numbers works. This means that "a = 1" will unify with "a = 'x'". This breaks the test we had.
--- a/test/infermismatch.myr
+++ b/test/infermismatch.myr
@@ -2,7 +2,7 @@
var a
var b
- a = 1
+ a = 1.0
b = 'a'
a = b
}