ref: aed73f868fbd7b9774c25031893adda907a9558c
parent: 84393ead97a2e189b6057420ad7d94170b9aa00f
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jun 9 10:08:28 EDT 2018
Fix test:wqs
--- a/test/fncast.myr
+++ b/test/fncast.myr
@@ -6,11 +6,11 @@
fn = {
}
+ ptr = (fn : byte#)
+ ptr = (envfn : byte#)
envfn = {
ptr = ptr
}
- ptr = (fn : byte#)
- ptr = (envfn : byte#)
std.put("ok\n")
}
--- a/test/matchptr.myr
+++ b/test/matchptr.myr
@@ -10,6 +10,7 @@
var y : loop
var ok
+ ok = false
x = `std.Some &(`std.Some 123)
match x
| `std.Some &(`std.None): std.put("failed\n")
--- a/test/overlappingif.myr
+++ b/test/overlappingif.myr
@@ -7,6 +7,7 @@
v = 0xff
+ x = 42
if v & 0xff00 != 0
x = 1
elif v & 0xfff0 != 0