There was an error while loading. Please reload this page.
1 parent 2f01ed8 commit 08d6e97Copy full SHA for 08d6e97
1 file changed
pkg/lang/hashes.go
@@ -76,9 +76,9 @@ func Hash(x interface{}) uint32 {
76
return Hash(x.Interface()) ^ reflectValueHashMask
77
case bool:
78
if x {
79
- return 1 //1231 // Java's Boolean.TRUE.hashCode()
+ return 1231 // Java's Boolean.TRUE.hashCode()
80
}
81
- return 0 //1237 // Java's Boolean.FALSE.hashCode()
+ return 1237 // Java's Boolean.FALSE.hashCode()
82
83
84
switch reflect.TypeOf(x).Kind() {
0 commit comments