]> Cypherpunks repositories - gostls13.git/commit
image: avoid func comparison during ColorModel comparison
authorRuss Cox <rsc@golang.org>
Tue, 6 Dec 2011 15:47:42 +0000 (10:47 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 6 Dec 2011 15:47:42 +0000 (10:47 -0500)
commite4e4cdb39a821eb850200967cb21ab36e8d3a1be
treeb2049d669058aa7c3d69148528138294494bba69
parentbbbd41f4fff790e9a340a4be77c3c05f37491273
image: avoid func comparison during ColorModel comparison

When I disallowed map + func comparisons, I only did it
in the static case and missed the comparisons via == on
interface values.  Fixing that turned these up.

R=nigeltao, r
CC=golang-dev
https://golang.org/cl/5440103
src/pkg/image/color/color.go
src/pkg/image/names.go