Commit fa5f8628 authored by Russ Cox's avatar Russ Cox

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
parent f611ae1c
......@@ -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++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment