regression in example on homepage
[Thread Prev] | [Thread Next]
- Subject: regression in example on homepage
- From: Andrew Chambers <andrewchamberss@xxxxxxxxx>
- Date: Mon, 14 Dec 2015 17:07:12 +1300
- To: myrddin-dev@xxxxxxxxxxxxxx
Running the examples on the homepage, one has stopped working. Here is the minimized failure. It prints 'pattern matched by earlier case' referring to the .a patterns. use std type s = struct a : int b : (int, int) ;; const main = { var v : s v = [.a = 123, .b=(5, 10)] match v | [.a = 234]: std.put("Should not be here\n") | [.a = 123, .b=(x, y)]: std.put("tuple is ({}, {})\n", x, y) | _: std.put("No matches: Generic case\n") ;; }
Re: regression in example on homepage | Ori Bernstein <ori@xxxxxxxxxxxxxx> |
- Prev by Date: Re: I Break Your Code: No More Uninitialized Variables
- Next by Date: Re: regression in example on homepage
- Previous by thread: Re: I Break Your Code: No More Uninitialized Variables
- Next by thread: Re: regression in example on homepage
- Index(es):