You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made this small code that reproduces the bug:
package main
import"core:fmt"
f :: proc() -> [4][2]string
{
return {
{"00", "01"},
{"10", "11"},
{"20", "21"},
{"30", "31"}}
}
main :: proc()
{
reproBug := trueif reproBug {
for l inf().xy {
for s in l {
fmt.println(s)
}
}
}
else {
ll := f().xy
for l in ll {
for s in l {
fmt.println(s)
}
}
}
}
Context
I have made this small code that reproduces the bug:
Odin: dev-2022-04-nightly:59025b75
OS: Windows 10 Education (version: 21H1), build 19043.1645
CPU: AMD Ryzen 7 3700X 8-Core Processor
RAM: 16332 MiB
Expected Behavior
It should print the following in both branch cases:
Current Behavior
When
reproBuf := true
it prints:The text was updated successfully, but these errors were encountered: