FAQ
https://codereview.appspot.com/6612049/diff/7001/src/pkg/exp/types/staging/check.go
File src/pkg/exp/types/staging/check.go (right):

https://codereview.appspot.com/6612049/diff/7001/src/pkg/exp/types/staging/check.go#newcode286
src/pkg/exp/types/staging/check.go:286: // TODO(gri) why is _ special
here?
On 2012/10/06 22:49:46, rsc wrote:
I can imagine it might be special in that you still want to type-check the
declaration. That is:
var _ int = "hello"
should not be thrown away before being type-checked. But that's also true of
case TypeSpec.
Correct. There's a failure here that I haven't tracked down yet.

https://codereview.appspot.com/6612049/diff/7001/src/pkg/exp/types/staging/types.go
File src/pkg/exp/types/staging/types.go (right):

https://codereview.appspot.com/6612049/diff/7001/src/pkg/exp/types/staging/types.go#newcode24
src/pkg/exp/types/staging/types.go:24: // is found. A nil record is not
invoked.
On 2012/10/06 22:49:46, rsc wrote:
On 2012/10/06 22:25:59, r wrote:
what does "A nil record is not invoked" mean?
s//If record is nil, it is not invoked./
And maybe chage record to f or save or something more obviously a
function or
verb.

Done.

https://codereview.appspot.com/6612049/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 5 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 5, '12 at 2:35a
activeOct 8, '12 at 1:02a
posts5
users3
websitegolang.org

3 users in discussion

Gri: 3 posts Rsc: 1 post R: 1 post

People

Translate

site design / logo © 2021 Grokbase