delve/_fixtures/issue1264.go
aarzilli 0c15ca5f19 proc: allow breakpoint conditions to contain a single boolean variable
Fixes a bug where breakpoint condition evaluation would never load the
value if the breakpoint condition consisted of just a single variable.

Fix #1264
2018-07-09 17:25:47 -07:00

11 lines
157 B
Go

package main
import "fmt"
func main() {
for i := 0; i < 4; i++ {
equalsTwo := i == 2
fmt.Printf("i: %d -> equalsTwo: %t \n", i, equalsTwo) // :8
}
}