shithub: mc

Download patch

ref: 288e48ee60b049206d1dd8ce250bf09c92452e7b
parent: 6538ea2c5b4daf1fc325144fbb0c9bc779ba3130
author: Ori Bernstein <[email protected]>
date: Mon Dec 14 15:26:22 EST 2015

Fix unit tests.

	The language got a tad more restrictive.

--- a/lib/std/test/fmt.myr
+++ b/lib/std/test/fmt.myr
@@ -87,6 +87,8 @@
 	var x : int
 	var p : pair
 
+	x = 0
+	p = [.x=0, .y=0]
 	std.fmtinstall(std.typeof(x), intfmt, [][:])
 	std.fmtinstall(std.typeof(p), pairfmt, [
 		("x", true),