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

Issue 5593049: code review 5593049: cgo: print line numbers in fatal errors when relevant. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by remyoudompheng
Modified:
13 years, 4 months ago
Reviewers:
lvd, jmhodges
CC:
rsc, golang-dev, remy_archlinux.org
Visibility:
Public.

Description

cgo: print line numbers in fatal errors when relevant. Signatures of fatalf and error_ helpers have been matched for consistency. Fixes issue 1800.

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r c7d6e8df6c8d https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 82bac8cdab6b https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 82bac8cdab6b https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -30 lines) Patch
M src/cmd/cgo/gcc.go View 1 2 3 4 22 chunks +38 lines, -30 lines 0 comments Download
M src/cmd/cgo/util.go View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A test/fixedbugs/bug408.go View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 10
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, remy@archlinux.org), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2012-01-29 11:21:40 UTC) #1
remyoudompheng
I'm not sure the test should be in test/fixedbugs, but I couldn't find anything similar ...
13 years, 5 months ago (2012-01-29 11:22:24 UTC) #2
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, remy@archlinux.org), Please take another look.
13 years, 5 months ago (2012-01-31 07:16:52 UTC) #3
rsc
Thanks for fixing this. It looks like the overwhelming case is that you pass token.NoPos ...
13 years, 4 months ago (2012-02-06 17:17:48 UTC) #4
remyoudompheng
On 2012/02/06 17:17:48, rsc wrote: > Thanks for fixing this. It looks like the overwhelming ...
13 years, 4 months ago (2012-02-06 17:36:20 UTC) #5
remyoudompheng
Hello rsc@golang.org (cc: golang-dev@googlegroups.com, remy@archlinux.org), Please take another look.
13 years, 4 months ago (2012-02-06 17:36:37 UTC) #6
rsc
LGTM Thanks
13 years, 4 months ago (2012-02-06 19:01:00 UTC) #7
remyoudompheng
*** Submitted as http://code.google.com/p/go/source/detail?r=24ea565d3631 *** cgo: print line numbers in fatal errors when relevant. Signatures ...
13 years, 4 months ago (2012-02-06 19:39:08 UTC) #8
lvd
on darwin/amd64, in 2 separate clean clients: parent: 11749:fae148fab2a7 tip flag: describe valid input for ...
13 years, 4 months ago (2012-02-07 10:50:28 UTC) #9
jmhodges
13 years, 4 months ago (2012-02-07 11:16:58 UTC) #10
Made an issue for this just earlier tonight:
http://code.google.com/p/go/issues/detail?id=2902

On Tue, Feb 7, 2012 at 2:50 AM,  <lvd@google.com> wrote:
> on darwin/amd64, in 2 separate clean clients:
>
> parent: 11749:fae148fab2a7 tip
>  flag: describe valid input for Duration flags.
> branch: default
> commit: (clean)
> update: (current)
>
>
> with bin and pkg wiped before all.bash i end up with:
>
>> =========== fixedbugs/bug408.go
>> BUG: errchk: command succeeded unexpectedly
>
>
> 0 known bugs; 1 unexpected bugs; test output differs
>
> although the dashboard looks fine.
>
>
>
> http://codereview.appspot.com/5593049/
Sign in to reply to this message.

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