Doing something like
if true {
a := 12
}
Gives the error Error: 'a' declared but not used, but this
if true {
a := 12
b := 12
}
Doesn’t give any error? Is this a bug? It seems intentional in this commit tho: Add check to block statements to see if they only contain one stateme… · odin-lang/Odin@4844dd4 · GitHub