aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/string.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/string.go')
-rw-r--r--src/pkg/runtime/string.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/string.go b/src/pkg/runtime/string.go
index 72b732f844..e9ea926dff 100644
--- a/src/pkg/runtime/string.go
+++ b/src/pkg/runtime/string.go
@@ -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++