Use union #shared_nil for os.Error

This commit is contained in:
gingerBill committed 2024-08-04 11:05:30 +01:00
1 parent e60951a902
commit 9f9abb8fb3
18 files changed
+93 -87

No files matched your search

+1 -1
View File
@@ -393,7 +393,7 @@ is_path_separator :: proc(r: rune) -> bool {
}
get_last_error :: proc "contextless" () -> Error {
return Error(__error()^)
return Platform_Error(__error()^)
}
fork :: proc() -> (Pid, Errno) {