mirror of
https://github.com/golang/go
synced 2024-11-19 21:04:43 -07:00
runtime: change concatstring panic to gothrow
It was a throw originally; it was converted incorrectly. LGTM=dave R=khr, dave CC=golang-codereviews https://golang.org/cl/139000043
This commit is contained in:
parent
f611ae1c75
commit
fa5f86281e
@ -18,7 +18,7 @@ func concatstrings(a []string) string {
|
||||
continue
|
||||
}
|
||||
if l+n < l {
|
||||
panic("string concatenation too long")
|
||||
gothrow("string concatenation too long")
|
||||
}
|
||||
l += n
|
||||
count++
|
||||
|
Loading…
Reference in New Issue
Block a user