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

Issue 7379052: code review 7379052: go/types: more robust imports (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by gri
Modified:
12 years, 3 months ago
Reviewers:
CC:
adonovan, r, golang-dev
Visibility:
Public.

Description

go/types: more robust imports - imported objects don't have position information - gc exported data contains non-exported objects at the top-level, guard against them - better error message when dot-imports conflict with local declarations

Patch Set 1 #

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

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

Total comments: 2

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -10 lines) Patch
M src/pkg/go/types/expr.go View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/pkg/go/types/objects.go View 1 3 chunks +20 lines, -3 lines 0 comments Download
M src/pkg/go/types/resolve.go View 1 4 chunks +23 lines, -4 lines 0 comments Download
M src/pkg/go/types/testdata/decls0.src View 1 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/go/types/testdata/decls1.src View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
gri
Hello adonovan@google.com, r@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 3 months ago (2013-02-26 02:04:16 UTC) #1
adonovan
LGTM https://codereview.appspot.com/7379052/diff/4001/src/pkg/go/types/resolve.go File src/pkg/go/types/resolve.go (right): https://codereview.appspot.com/7379052/diff/4001/src/pkg/go/types/resolve.go#newcode23 src/pkg/go/types/resolve.go:23: // for dot-imports, local declarations are declared first ...
12 years, 3 months ago (2013-02-26 04:31:10 UTC) #2
gri
https://codereview.appspot.com/7379052/diff/4001/src/pkg/go/types/resolve.go File src/pkg/go/types/resolve.go (right): https://codereview.appspot.com/7379052/diff/4001/src/pkg/go/types/resolve.go#newcode23 src/pkg/go/types/resolve.go:23: // for dot-imports, local declarations are declared first - ...
12 years, 3 months ago (2013-02-26 04:34:10 UTC) #3
gri
12 years, 3 months ago (2013-02-26 04:43:43 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=6cc3df6d98e3 ***

go/types: more robust imports

- imported objects don't have position information
- gc exported data contains non-exported objects at
  the top-level, guard against them
- better error message when dot-imports conflict
  with local declarations

R=adonovan, r
CC=golang-dev
https://codereview.appspot.com/7379052
Sign in to reply to this message.

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