about summary refs log tree commit diff
path: root/src/test/run-pass/guards.rs
AgeCommit message (Collapse)AuthorLines
2011-09-02Reformat. Issue #855Brian Anderson-13/+10
2011-08-22Implement pattern guardsMarijn Haverbeke-0/+16
The syntax is alt x { mypat where mycond { ... } } The condition may refer to any of the variables bound by the pattern. When a guard fails, pattern-matching continues with the next pattern. Closes #857