recover
not working correctly with runtime panics in Gnolang
#2146
Milestone
recover
not working correctly with runtime panics in Gnolang
#2146
Description:
The
recover
function does not seem to handle runtime panics correctly in Gnolang, whereas the following code works fine in Golang.Steps to Reproduce:
recover
.Expected Behavior:
The program should terminate normally without panicking because the
recover
in the deferred function should catch the panic caused by division by zero or use of nil pointer...Actual Behavior:
In Gnolang, the program does not seem to handle the runtime panic, causing the program to crash.
The text was updated successfully, but these errors were encountered: