Odin
Odin copied to clipboard
Odin Programming Language
I am getting an error trying to call an intrinsic proc in the global scope that's is assigned a new name in the imported lib. Expected it to work similar...
## Context I have made this small code that reproduces the bug: ```odin package main import "core:fmt" f :: proc() -> [4][2]string { return { {"00", "01"}, {"10", "11"}, {"20",...
## Context Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. * Operating System & Odin...
## Context Downloading the macos build from this page: https://github.com/odin-lang/Odin/releases/tag/dev-2021-06 The assumption here is that someone who just wants to use the language, and not build it from source. *...
## Context Odin: dev-2022-08:3469178dc OS: macOS 12.0.5 Monterey CPU: ARM64 RAM: 8192 MiB ## Expected Behavior I expect to be able to call `NS.MakeConstantString("something")` to get an NSString instance at...
One thing I dislike about multi-line comments is that they can screw with the look of the file due to the indentation. Here a tiny example (I think it's worse...
Is it possible to use a debugger on a mac? And if so can someone help me of how to set this up? I know there is Visual Studio for...
Error: `Matrix elements types are limited to integers, floats, and complex, got ^int` What seems to be happening is `cast_mat` is evaluated and sees an invalid return type of `matrix[N,N]^int`...
`call1` errors with `llvm_backend_general.cpp(2139): Assertion Failure: elem_count > 0 matrix[0, 0]matrix[4, 4]f32` ``` call1 :: proc(v: matrix[$N,N]$T) {} // error call2 :: proc(v: $A/matrix[$N,N]$T) {} call3 :: proc(v: $T) {}...
Casting a matrix that's stored in a variable results in an error Error: `llvm_backend_general.cpp(920): Assertion Failure: are_types_identical(ca, core_type(value.type)) f32 != f64` ``` m := matrix[4,4]f64{} v := cast(matrix[4,4]f32)m ``` If...