summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-09-24 14:00:04 -0400
committerOri Bernstein <ori@eigenstate.org>2014-09-24 18:52:40 -0400
commit0a7a934f544bdd4ad8784fe87d3e87d0e154ff59 (patch)
treea94c01c3a133431d8846f4e8ad1fd30c778d6d45 /test
parent2a833f441b9a03e1222ab501e71fc029bf069665 (diff)
downloadmc-0a7a934f544bdd4ad8784fe87d3e87d0e154ff59.tar.gz
Fix struct matching for out of order members.
Diffstat (limited to 'test')
-rw-r--r--test/matchstruct.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/matchstruct.myr b/test/matchstruct.myr
index 568013e..13d0f53 100644
--- a/test/matchstruct.myr
+++ b/test/matchstruct.myr
@@ -13,7 +13,7 @@ const main = {
v.v2 = 40
v.v3 = 10
match v
- | [.v1 = x, .v2 = y, .v3 = 10]:
+ | [.v2 = x, .v1 = y, .v3 = 10]:
std.exit(x + y)
| _:
std.die("Wat")