``` fn main() { let f = @f; f(); } ``` Causes the compiler to iloop ``` fn main() { let f = @f; } ``` Causes the compiler to output "Out of stack space, sorry" Expected: "unresolved name: f" or "use before definition: f" or "cannot determine a type local variable: f".
Activity
catamorphism commentedon Jul 29, 2011
This might be due to the lack of occurs check -- I'll look at it.
msullivan commentedon Aug 3, 2011
I strongly suspect it is.
catamorphism commentedon Aug 3, 2011
Confirmed that subst_vars (in ty.rs) is going into an infinite loop. I'll work on implementing the occurs check.
Auto merge of rust-lang#768 - tamird:bring-back-target-vendor, r=alex…
Merge pull request rust-lang#768 from varkor/fieldless
Cleanup code that we no longer use (rust-lang#768)
Merge pull request rust-lang#768 from rust-lang/remove-passing-run-ma…
Merge rust-lang#768