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

Issue 13257044: code review 13257044: cmd/gc: tag builtin error, byte, rune to avoid exportin... (Closed)

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

Description

cmd/gc: tag builtin error, byte, rune to avoid exporting them. Fixes issue 5910. Fixes issue 6260.

Patch Set 1 #

Patch Set 2 : diff -r 2f13cc5d7043 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 2f13cc5d7043 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 87639d4e21a8 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -10 lines) Patch
M src/cmd/gc/lex.c View 1 1 chunk +6 lines, -6 lines 0 comments Download
M test/fixedbugs/bug460.dir/a.go View 1 1 chunk +4 lines, -0 lines 0 comments Download
M test/fixedbugs/bug460.dir/b.go View 1 1 chunk +5 lines, -2 lines 0 comments Download
M test/fixedbugs/issue5910.dir/a.go View 1 2 chunks +7 lines, -2 lines 0 comments Download
M test/fixedbugs/issue5910.dir/main.go View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 8 months ago (2013-08-27 06:30:43 UTC) #1
DMorsing
Reading back on this, I'm a bit confused as to why this works at all. ...
11 years, 8 months ago (2013-08-27 07:58:16 UTC) #2
remyoudompheng
well, at least it should be the same for the table and for error/byte/rune. 2013/8/27, ...
11 years, 8 months ago (2013-08-27 08:18:21 UTC) #3
DMorsing
On 2013/08/27 08:18:21, remyoudompheng wrote: > well, at least it should be the same for ...
11 years, 8 months ago (2013-08-27 08:22:16 UTC) #4
DMorsing
Ok, seems like I just plain forgot how the symbol table worked during parsing. Feel ...
11 years, 8 months ago (2013-08-27 14:47:08 UTC) #5
remyoudompheng
11 years, 8 months ago (2013-08-27 19:18:49 UTC) #6
*** Submitted as https://code.google.com/p/go/source/detail?r=1e3289919b26 ***

cmd/gc: tag builtin error, byte, rune to avoid exporting them.

Fixes issue 5910.
Fixes issue 6260.

R=golang-dev, daniel.morsing
CC=golang-dev
https://codereview.appspot.com/13257044
Sign in to reply to this message.

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