mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: make type assertion a runtime.Error, the first of many
R=r CC=golang-dev https://golang.org/cl/805043
This commit is contained in:
parent
b6ad074efc
commit
63e878a750
10 changed files with 166 additions and 135 deletions
|
|
@ -935,7 +935,7 @@ printpanics(Panic *p)
|
|||
printf("\t");
|
||||
}
|
||||
printf("panic: ");
|
||||
printany(p->arg);
|
||||
·printany(p->arg);
|
||||
if(p->recovered)
|
||||
printf(" [recovered]");
|
||||
printf("\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue