Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typeck hang with structural recursive type #900

Closed
jruderman opened this issue Sep 11, 2011 · 1 comment
Closed

typeck hang with structural recursive type #900

jruderman opened this issue Sep 11, 2011 · 1 comment

Comments

@jruderman
Copy link
Contributor

tag noption { some(noption); }
fn main() {
    let nop2: noption = "x";
    alt nop2 {
      some(t) { log t.x; }
    }
}

Hangs the compiler in typeck.

sully, will your planned fix for #742 take care of this?

@msullivan
Copy link
Contributor

Yeah, I think this is a straight-up dupe of #742. Closing.

ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants