Skip to content

Using %? in fmt! broken on Windows 7 #4564

@mindbound

Description

@mindbound

At least on Windows 7 64bit the following code,

let num = 5;
io::println(fmt!("Number: %?", num));

compiles but fails at runtime with error,
err
whereas explicit conversion to the appropriate type with %i and num as int yields no error (this behaviour is not limited to integers).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions