Paul-Andre Henegar
Paul-Andre Henegar
I can't get into the computer on which I've initially done that, but on another computer, also running Ubuntu 14.04, but running Pulseaudio, I get the same error and I...
Even with just this: ```odin package test_issues main :: proc(){ any("asdfa") } ``` I get: ``` src/llvm_backend_const.cpp(769): Assertion Failure: `is_type_string(original_type)` Illegal instruction (core dumped) ``` odin report: ``` Odin: dev-2025-07:be3006dbf...
> [@Paul-Andre](https://github.com/Paul-Andre) bypassing the assert in that simpler case doesn't fail codegen but instead silently removes the expression, u can tell if u try to use the expression as in:...
So what exactly should the semantics of `any(123)` or `any("hullo")` be? The way `variable:=123; any(variable)` works is that it takes the address of the variable, which means the stack address...
Side note: `any` is interesting because it's an undercover way of passing something by reference, even though nothing else is passed by reference.
Ok, so the solution is to simply remove the line `include(${CMAKE_CURRENT_SOURCE_DIR}/../../CMakeLists.txt)` from `examples/Console/CMakeLists.txt` and it works.