Skip to content

time::strptime() task failure with rustc 0.6 #7256

Closed
@m10e

Description

@m10e

This issue was encountered with rustc 0.6 (the version in macports). I apologize if you only want issues opened after they've been confirmed on master. What is the policy wrt this? If such is the case, simply close this issue and I'll try to build master and see if it still exists.

Step to reproduce:
time::strptime(~"360", ~"%Y-%m-%d");

Expected result:
result::Err

Actual result:
rust: task failed at 'index out of bounds: the len is 3 but the index is 3', /opt/local/var/macports/build/_opt_mports_dports_lang_rust/rust/work/rust-0.6/src/libcore/str.rs:1833
rust: domain main @0x7f94a1008c10 root task failed

Thanks to all devs for your great work. Rust looks like a real contender!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions