mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +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:
|
default:
|
||||||
return "unknown"
|
return "unknown"
|
||||||
}
|
}
|
||||||
panic("unreachable")
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user