graydon/rust — Issue #1464: rustc hang with infinite recursion in ty::fold_ty
Author: jruderman
Created: 2012-01-08 08:28:23+00:00
State: open

rustc hangs trying to compile this program:

import comm::*;
fn f() { let p = port(); send(recv(p), chan(p)); }

Seems to be infinite recursion in:

510 vec::map::_83cc742242c22cda
510 middle::ty::fold_ty::anon2725
510 middle::ty::fold_ty::_c9621faf7679b838
510 middle::ty::unify::fixup_vars::subst_vars::thunk3045
510 middle::ty::unify::fixup_vars::subst_vars::_8ee858573cc39263
510 middle::ty::fold_ty::_c9621faf7679b838
510 vec::map::_83cc742242c22cda