Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion Failure: (e->flags & EntityFlag_Overridden) == 0 in malformed input #4771

Open
SaculRennorb opened this issue Jan 29, 2025 · 0 comments

Comments

@SaculRennorb
Copy link

Context

I'm currently porting a codebase to odin. During that process i repeatedly throw the still malformed code at the compiler to get it to tell me what to fix next.

    Odin:    dev-2024-12-nightly:cf53404
    OS:      Windows 10 Enterprise N (version: 20H2), build 19042.1466
    CPU:     Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
    RAM:     65470 MiB
    Backend: LLVM 18.1.8

Expected Behavior

no asserts

Current Behavior

D:\a\Odin\Odin\src\check_expr.cpp(1735): Assertion Failure: `(e->flags & EntityFlag_Overridden) == 0` 
D:\a\Odin\Odin\src\check_expr.cpp(1735): Assertion Failure: `(e->flags & EntityFlag_Overridden) == 0` 
 *  The terminal process "C:\Program Files\Odin\odin.exe 'run', 'out_manual', '-linker:radlink', '-debug', '-max-error-count:999'" terminated with exit code: -2147483645. 

Steps to Reproduce

  1. unzip the attached source code
  2. run odin.exe run out_manual -linker:radlink -debug -max-error-count:999
  3. observe assert

out_manual.zip

Since there is close to no info on this i don't feel like trying to reduce the repro case. I suspect it has to do with imgui.cpp.odin:3354, since that was my last change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant