record type inference failing

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
9 years ago
8 years ago

People

(Reporter: dherman, Assigned: pcwalton)

Tracking

Details

(Reporter)

Description

9 years ago
fn main() {
    auto x = rec(foo = "hello", bar = "world");
    log x.foo;
    log x.bar;
}

Error: unresolved type <record with fields bar : <loggable>> (16)

Dave
(Reporter)

Comment 1

9 years ago
Added the above as an XFAIL'ed test case in test/run-pass/rec-auto.rs.

Dave
Moved to github issue #56.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
Group: servo
You need to log in before you can comment on or make changes to this bug.