Skip to content

Set undefined memory in debug mode don't work #20859

Closed as not planned
Closed as not planned
@lmarzocchetti

Description

@lmarzocchetti

Zig Version

0.14.0-dev.655+d30d37e35

Steps to Reproduce and Observed Behavior

I have "var min_col: i32 = undefined;", when i try to set the variable to some value (the first value is always setted, then i use it to find a minimum) it doesn't work in Debug mode. I tried in ReleaseSafe and it all works correctly

Expected Behavior

To behave like in Release mode, and set the memory to a value

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionNo questions on the issue tracker, please.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions