Skip to content

Potential typo in ElfFile.zig #25667

@TibboddiT

Description

@TibboddiT

Zig Version

0.16.0-dev.747+493ad58ff

Steps to Reproduce and Observed Behavior

It seems there is a typo in std/debug/ElfFile.zig that makes it impossible to load a separate debug file:

        if (main_loaded.sections.get(s) == null and result.sections.get(s) != null) {

I think the second condition should be result.sections.get(s) != null).

Expected Behavior

Loading a separate debug file should be possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions