aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/stmt.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/stmt.go')
-rw-r--r--src/go/types/stmt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/stmt.go b/src/go/types/stmt.go
index 82c21c2a7a..27da198a85 100644
--- a/src/go/types/stmt.go
+++ b/src/go/types/stmt.go
@@ -907,7 +907,7 @@ func rangeKeyVal(typ Type, wantKey, wantVal bool) (Type, Type, string) {
msg = "send-only channel"
}
return typ.elem, Typ[Invalid], msg
- case *Sum:
+ case *_Sum:
first := true
var key, val Type
var msg string