github.com/traefik/yaegi@v0.15.1/_test/and0.go (about) 1 package main 2 3 func main() { 4 a, b := 1, 2 5 6 if f2() && f1() { 7 println(a, b) 8 } 9 } 10 11 func f1() bool { 12 println("f1") 13 return true 14 } 15 16 func f2() bool { 17 println("f2") 18 return false 19 } 20 21 // Output: 22 // f2