Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/runtime/panic.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ func _panic(message interface{}) {

// Cause a runtime panic, which is (currently) always a string.
func runtimePanic(msg string) {
printstring("panic: runtime error: ")
println(msg)
abort()
_panic("runtime error: " + msg)
}

// Called at the start of a function that includes a deferred call.
Expand Down