We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
^#soa[dynamic]T
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
Odin: dev-2025-05:19fe75f02 OS: Windows 10 Professional (version: 22H2), build 19045.5247 CPU: AMD Ryzen 9 5950X 16-Core Processor RAM: 65444 MiB Backend: LLVM 20.1.0
For the comparison to work, or an error message.
W:\Odin\src\llvm_backend_expr.cpp(3213): Panic: Unknown handled type: #soa ^#soa[dynamic]Foo -> #soa ^#soa[dynamic]Foo
Compile the following.
package scratch import "core:fmt" Foo :: struct {a, b: int} main :: proc() { array := new(#soa[dynamic]Foo) array^ = make(#soa[dynamic]Foo, 12, 12) addr := &array[1] if addr == nil { // This crashes the compiler fmt.println("Uhoh") } fmt.println(array) }
Please include any relevant log snippets or files here.
The text was updated successfully, but these errors were encountered:
Fixed by @bogwi's patch #5123.
Sorry, something went wrong.
No branches or pull requests
Context
Expected Behavior
For the comparison to work, or an error message.
Current Behavior
W:\Odin\src\llvm_backend_expr.cpp(3213): Panic: Unknown handled type: #soa ^#soa[dynamic]Foo -> #soa ^#soa[dynamic]Foo
Steps to Reproduce
Compile the following.
Failure Logs
Please include any relevant log snippets or files here.
The text was updated successfully, but these errors were encountered: