- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.1k
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
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
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.