Skip to content

[interp] Std.string((null:UInt)) throws #12975

Description

@kevinresol

Just run Std.string((null : UInt)) 👉 Uncaught exception Invalid operation: null + 0

(same in nightly Std.string((null : haxe.UInt32)))

Since eval is not a static target and the compiler actually allows null value for UInt, I think Std.string should produce "null" for it?

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