mirror of
https://github.com/golang/go.git
synced 2024-11-22 05:40:42 +00:00
panic("unreachable") is no longer needed in go code
parent
5630269425
commit
0b80d6a417
@ -162,7 +162,6 @@ func typeName(v interface{}) string {
|
||||
default:
|
||||
return "unknown"
|
||||
}
|
||||
panic("unreachable")
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user