Odin
Odin copied to clipboard
Incorrect error when using globals from another package as default parameter values
- Operating System & Odin Version: Windows x64,
odin.exe version dev-2022-04:426a6a95
package test
import "core:os"
f :: proc(cmd: string, stdout := os.stdout) {}
main :: proc() {
f("hi")
}
bug.odin(6:34) Use of import 'os' not in selector