mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 11:42:28 +00:00
added error printing
This commit is contained in:
@@ -2145,6 +2145,10 @@ or_return_operator :: proc() {
|
||||
return -345 * z, zerr
|
||||
}
|
||||
|
||||
defer if err != nil {
|
||||
fmt.println("Error in", #procedure, ":" , err)
|
||||
}
|
||||
|
||||
n = 123
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user