delve/_fixtures/issue1615.go
Alessandro Arzilli 158fb7bfac proc: increase maximum string length when loading string for binary ops (#1620)
Increases the maximum string length from 64 to 1MB when loading strings
for a binary operator, also delays the loading until it's necessary.

This ensures that comparison between strings will always succeed in
reasonable situations.

Fixes #1615
2019-07-16 13:11:35 -07:00

22 lines
264 B
Go

package main
var strings = []string{
"one",
"two",
"three",
"four",
"projects/my-gcp-project-id-string/locations/us-central1/queues/my-task-queue-name",
"five",
"six",
}
func f(s string) {
// ...
}
func main() {
for _, s := range strings {
f(s)
}
}