Fix polymorphic iterators. Closes #829.

This commit is contained in:
Michael Sullivan 2011-08-19 11:54:46 -07:00
parent cc2ebbec92
commit a7e559ee2e
2 changed files with 16 additions and 3 deletions

View file

@ -0,0 +1,4 @@
iter iter2<@T>() -> T { }
fn main() {
for each i: int in iter2() { }
}