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

Issue 10452046: code review 10452046: compiler: reject method definition on types from other ...

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by remyoudompheng
Modified:
12 years, 4 months ago
Reviewers:
iant, gofrontend-dev
CC:
gofrontend-dev_googlegroups.com
Visibility:
Public.

Description

compiler: reject method definition on types from other packages. Fixes issue 27.

Patch Set 1 #

Patch Set 2 : diff -r c85c21ae9a6c https://code.google.com/p/gofrontend/ #

Patch Set 3 : diff -r c85c21ae9a6c https://code.google.com/p/gofrontend/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M go/parse.cc View 1 1 chunk +7 lines, -0 lines 1 comment Download

Messages

Total messages: 3
remyoudompheng
Hello iant@golang.org, gofrontend-dev@googlegroups.com (cc: gofrontend-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/gofrontend/
12 years, 4 months ago (2013-06-21 17:22:55 UTC) #1
remyoudompheng
ping?
12 years, 4 months ago (2013-06-24 18:44:57 UTC) #2
iant
12 years, 4 months ago (2013-06-24 22:52:35 UTC) #3
I'm not sure that we can reliably check this property in the parser. A better place for this check might be Check_types_traverse::function. https://codereview.appspot.com/10452046/diff/6001/go/parse.cc File go/parse.cc (right): https://codereview.appspot.com/10452046/diff/6001/go/parse.cc#newcode2379 go/parse.cc:2379: if(type->named_type() != NULL && For future reference, the && should go at the start of the next line.
Sign in to reply to this message.

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