We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 804664c commit c74d050Copy full SHA for c74d050
interp/typecheck.go
@@ -101,7 +101,7 @@ func (check typecheck) addressExpr(n *node) error {
101
found = true
102
continue
103
}
104
- return n.cfgErrorf("invalid operation: cannot take address of %s", c0.typ.id())
+ return n.cfgErrorf("invalid operation: cannot take address of %s [kind: %s]", c0.typ.id(), kinds[c0.kind])
105
106
return nil
107
0 commit comments