diff options
| author | Roy Frostig <[email protected]> | 2010-06-25 00:47:23 -0700 |
|---|---|---|
| committer | Roy Frostig <[email protected]> | 2010-06-25 00:47:23 -0700 |
| commit | 241305caab232b04666704dc6853c41312cd283a (patch) | |
| tree | 9a8cd9ef0573d15477927afb02620c723745ddcf /src/test | |
| parent | Rearrange pexp-custom stuff a bit. (diff) | |
| download | rust-241305caab232b04666704dc6853c41312cd283a.tar.xz rust-241305caab232b04666704dc6853c41312cd283a.zip | |
Resolve and typecheck patterns in pattern alt redux. This time featuring way more correctness.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/generic-tag-alt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/generic-tag-alt.rs b/src/test/run-pass/generic-tag-alt.rs index 302096fb..1f4c5465 100644 --- a/src/test/run-pass/generic-tag-alt.rs +++ b/src/test/run-pass/generic-tag-alt.rs @@ -3,7 +3,7 @@ type foo[T] = tag(arm(T)); fn altfoo[T](foo[T] f) { auto hit = false; alt (f) { - case (arm(x)) { + case (arm[T](x)) { log "in arm"; hit = true; } |