Odin
Odin copied to clipboard
Odin Programming Language
While investigating the usage of `expand_values` as a workaround for #4301, I found that it doesn't work for that particular case of a built-in procedure. ```odin package main my_min ::...
## Context D:\a\Odin\Odin\src\llvm_backend_stmt.cpp(1467): Assertion Failure: `are_types_identical(e->type, type_deref(value.type)) Found the cause: switch &v in &container.element When i use v as a pointer it gives me the assertion faliure Odin: dev-2023-08-nightly:985e4eed OS:...
## Context Odin: dev-2023-06: OS: Windows 11 Professional (version: 22H2), build 22621.1702 CPU: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz RAM: 9938 MiB ## Example ```odin package main Type :: struct($T:...
Odin: dev-2023-05 OS: Unknown Linux Distro, Linux 6.2.13-arch1-1 CPU: AMD Ryzen 9 5900X 12-Core Processor RAM: 64217 MiB ``` package bug import "core:fmt" import "core:runtime" One :: struct { }...
## Context Odin: dev-2025-11-nightly:1fb60c4 OS: Windows 11 Professional (version: 24H2), build 26100.3476 CPU: AMD Ryzen 5 5600X 6-Core Processor RAM: 32693 MiB Backend: LLVM 20.1.0 Requires UTF-8 encoding support in...
Consider: ```Odin Surface_RGBA :: struct #raw_union { //NOTE(Jesse): Reflect byte order for assumed window backing formats. using _: struct { B, G, R, A: u8, }, e: [4]u8, } ```...
I had a file named `video_raylib_test.odin` ```odin package main import "core:fmt" main :: proc() { fmt.println("Hellope!") } ``` The error I got for `odin run .` is: > Syntax Error:...
Ran into this while helping someone on [Discord](https://discord.com/channels/568138951836172421/1404496642828402711) who was expanding on the microui example in the examples repo. ```odin import "core:fmt" N :: #config(N, 65) x: f64 = 0.5...
```odin SQUARE :: [4][2]f32{ {0, 0}, {1, 0}, {0, 1}, {1, 1}, } points: [dynamic][2]f32 append_elems(&points, ..(SQUARE * 100 + 100)) /* Error: Cannot assign value '(SQUARE * 100 +...
Compiling the following code cause the compiler to hang and never exit, printing nothing: ```odin package odin_bug JsonSchema :: struct { items: Maybe(JsonSchema), // For "array" type } main ::...