diff options
| author | Graydon Hoare <[email protected]> | 2011-03-10 10:17:10 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-10 10:17:10 -0800 |
| commit | 0d3cec71a3282a090903a919d418c638a3b1ebe6 (patch) | |
| tree | 4177bbd87585743abd61dab3c7638b9b584d74a4 /src/comp/front/eval.rs | |
| parent | Implement deep structural comparison through boxes and sequences. (diff) | |
| download | rust-0d3cec71a3282a090903a919d418c638a3b1ebe6.tar.xz rust-0d3cec71a3282a090903a919d418c638a3b1ebe6.zip | |
Fix eval typo (caught by Martin Hock).
Diffstat (limited to 'src/comp/front/eval.rs')
| -rw-r--r-- | src/comp/front/eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/eval.rs b/src/comp/front/eval.rs index cae72b1e..ac4b704b 100644 --- a/src/comp/front/eval.rs +++ b/src/comp/front/eval.rs @@ -42,7 +42,7 @@ fn val_is_bool(val v) -> bool { fn val_is_int(val v) -> bool { alt (v) { - case (val_bool(_)) { ret true; } + case (val_int(_)) { ret true; } case (_) { } } ret false; |