Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1354)

Issue 123010044: code review 123010044: go/parser: don't do method receiver checks at parse-time (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by gri
Modified:
9 years, 8 months ago
Reviewers:
adonovan
CC:
rsc, adonovan, golang-codereviews
Visibility:
Public.

Description

go/parser: don't do method receiver checks at parse-time The ast and printer don't care, and go/types can provide a better error message. This change requires an update to the tests for go/types (go.tools repo). CL forthcoming. Fixes issue 8493.

Patch Set 1 #

Patch Set 2 : diff -r 3b3e7fe70577b153f3c67532bbdc92f7312d7126 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 3b3e7fe70577b153f3c67532bbdc92f7312d7126 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 7a2415f9f27302056c2ef7e40910333b2bcc4ee2 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -31 lines) Patch
M src/pkg/go/parser/parser.go View 1 2 chunks +1 line, -31 lines 0 comments Download

Messages

Total messages: 5
gri
Hello rsc@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
9 years, 8 months ago (2014-08-07 16:52:47 UTC) #1
adonovan
On 2014/08/07 16:52:47, gri wrote: > Hello mailto:rsc@golang.org (cc: mailto:golang-codereviews@googlegroups.com), > > I'd like you ...
9 years, 8 months ago (2014-08-07 17:51:31 UTC) #2
gri
go vet passes tests. I don't know that they checked this before. Perhaps they should ...
9 years, 8 months ago (2014-08-07 17:55:16 UTC) #3
adonovan
On 2014/08/07 17:55:16, gri wrote: > go vet passes tests. I don't know that they ...
9 years, 8 months ago (2014-08-07 19:29:09 UTC) #4
gri
9 years, 8 months ago (2014-08-07 19:45:04 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=179dc6045b9e ***

go/parser: don't do method receiver checks at parse-time

The ast and printer don't care, and go/types can provide
a better error message.

This change requires an update to the tests for go/types
(go.tools repo). CL forthcoming.

Fixes issue 8493.

LGTM=adonovan
R=rsc, adonovan
CC=golang-codereviews
https://codereview.appspot.com/123010044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b