Open FourteenBrush opened 3 days ago
Confirmed. x
and y
were even assigned the correct values.
package bug
import "core:fmt"
main :: proc() {
something(1, 2)
}
something :: proc(x: int y: int) {
fmt.printfln("works fine: x={} y={}", x, y)
}
Context
The following code compiles and runs just fine, despite a missing comma between the parameters, note that this is only reproducible with two parameters:
odin report
output:Expected Behavior
Compiler error stating missing comma
Steps to Reproduce
odin run file.odin -file