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

trans.rs assertion error compiling code #1400

Closed
erickt opened this issue Dec 31, 2011 · 3 comments
Closed

trans.rs assertion error compiling code #1400

erickt opened this issue Dec 31, 2011 · 3 comments

Comments

@erickt
Copy link
Contributor

erickt commented Dec 31, 2011

I've reduced this down to about bare minimum:

use std;

native mod foo {
    fn bar(x: int);
}

obj new(i: int) {
    fn f() {
        str::as_buf("", {|_x| foo::bar(i) });
    }
}

Errors out with:

rust: upcall fail 'Assertion cx.fcx.llobjfields.contains_key(did.node) failed', ../src/comp/middle/trans.rs:2679
rust: domain main @0x102029600 root task failed
@jruderman
Copy link
Contributor

Duplicate of #1286?

@marijnh
Copy link
Contributor

marijnh commented Jan 13, 2012

This might have been obj related. In any case, our reproducing test case is now no longer valid Rust. Close?

@graydon
Copy link
Contributor

graydon commented Feb 14, 2012

Closing as assumed-obsolete.

@graydon graydon closed this as completed Feb 14, 2012
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
…rust-lang#1400)

* Adjust script to filter and print unsupported features data

* Add utils for unsupported features data (filter and summary)

* Address PR comments
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

4 participants