fix: correctly store boolean result for branching operations

This commit is contained in:
Marc Vertes
2020-02-14 16:26:04 +01:00
committed by GitHub
parent 1b971b539c
commit 7037424edf
9 changed files with 144 additions and 28 deletions

10
_test/a41.go Normal file
View File

@@ -0,0 +1,10 @@
package main
var a = [...]bool{true, true}
func main() {
println(a[0] && true)
}
// Output:
// true