Odin
Odin copied to clipboard
Odin Programming Language
Having the 'using' keyword with _ is a struct pointer type causes the following assertion to trigger: ``` src/llvm_backend_expr.cpp(3191): Assertion Failure: `e->using_expr != nullptr` value ``` Minimal reproduction case: ```...
As per our discussion on Discord, Most programming languages have an empty unit-type. Odin has an empty unit-value which is the `{}` aggregate. This aggregate has the special property that...
### Summary I have two procedures in a group, each with two parapoly parameters. One of the procedures uses `where` to force the parameters to be different types and the...
## Context Operating System & Odin Version: ``` Odin: dev-2022-09-nightly:74458ab0 OS: Windows 10 Professional (version: 21H1), build 19043.1889 CPU: Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz RAM: 32681 MiB ``` ##...
## Context Odin: dev-2022-09:eea19f81 OS: Windows 10 Home Basic (version: 21H2), build 19044.1889 CPU: AMD Ryzen 7 5800X 8-Core Processor RAM: 32711 MiB Code: ``` package main VTable :: struct...
## Context Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. ``` Odin: dev-2022-08:a83ca212 OS: Manjaro...
## Summary When debugging tests I have to point the debugger at `{root}/source/.exe` (the default test executable location) instead of a more sane custom path like `{root}/test.exe` Allowing `-out` with...
Odin currently produces structured exception handling code even though it is never used. https://github.com/compiler-explorer/compiler-explorer/issues/4028 Allow users to opt-in with their own handlers.
Currently, the version number is set based on output of `date`, which means that rebuilding source from `dev-YYYY-MM` tag will producible different version numbers when re-built in a future month/year....
I just started exploring Odin and the learn_metal examples, but there was a problem related to Metal version: ``` error: 'id' attribute requires Metal language standard macos-metal2.0 or higher; ```...