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

Issue 13326045: code review 13326045: cmd/gc: make method names for function scoped types unique (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by DMorsing
Modified:
11 years, 8 months ago
Reviewers:
rsc, bradfitz
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

cmd/gc: make method names for function scoped types unique Types in function scope can have methods on them if they embed another type, but we didn't make the name unique, meaning that 2 identically named types in different functions would conflict with eachother. Fixes issue 6269.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -1 line) Patch
M src/cmd/gc/fmt.c View 1 1 chunk +4 lines, -1 line 0 comments Download
A test/fixedbugs/issue6269.go View 1 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 4
DMorsing
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 8 months ago (2013-08-28 21:35:27 UTC) #1
bradfitz
LGTM On Wed, Aug 28, 2013 at 2:35 PM, <daniel.morsing@gmail.com> wrote: > Reviewers: golang-dev1, > ...
11 years, 8 months ago (2013-08-28 21:43:21 UTC) #2
DMorsing
*** Submitted as https://code.google.com/p/go/source/detail?r=84a92114983d *** cmd/gc: make method names for function scoped types unique Types ...
11 years, 8 months ago (2013-08-29 14:48:49 UTC) #3
rsc
11 years, 8 months ago (2013-09-05 14:44:59 UTC) #4
Nice.
Sign in to reply to this message.

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