diff options
Diffstat (limited to 'src/go/types/operand.go')
-rw-r--r-- | src/go/types/operand.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/operand.go b/src/go/types/operand.go index 8f9c9d09bf..8344c059c4 100644 --- a/src/go/types/operand.go +++ b/src/go/types/operand.go @@ -242,7 +242,7 @@ func (x *operand) assignableTo(check *Checker, T Type, reason *string) (bool, er // x is an untyped value representable by a value of type T. if isUntyped(Vu) { - if t, ok := Tu.(*Sum); ok { + if t, ok := Tu.(*_Sum); ok { return t.is(func(t Type) bool { // TODO(gri) this could probably be more efficient ok, _ := x.assignableTo(check, t, reason) |