]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/go/types/assignments.go
[dev.typeparams] merge master (2f0da6d) into dev.typeparams
[gostls13.git] / src / go / types / assignments.go
index ee7dd962146bb73892b81009075af3a148c74ce6..3aa06e8939fca76084b0217202c4f2eb8c4b4509 100644 (file)
@@ -129,7 +129,6 @@ func (check *Checker) initVar(lhs *Var, x *operand, context string) Type {
                if lhs.typ == nil {
                        lhs.typ = Typ[Invalid]
                }
-               lhs.used = true
                return nil
        }