shithub: mc

Download patch

ref: 10167ef255eae11cb40dc15024be7e322d35b320
parent: 059eaf0d4366d07da1caa936ebdb5496bb7626b6
author: Ori Bernstein <[email protected]>
date: Thu Nov 14 06:08:12 EST 2013

Fix a test I failed to convert.

    We were testing failed compilation for mixed types, but forgot
    to convert the syntax to the new match syntax.

--- a/test/matchmixed.myr
+++ b/test/matchmixed.myr
@@ -7,8 +7,8 @@
 
 const main = {
 	match "asdf"
-	`A:	std.put("Got a\n");;
-	`B:	std.put("Got b\n");;
+	| `A:	std.put("Got a\n")
+	| `B:	std.put("Got b\n")
 	;;
 	-> 42
 }