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

Issue 4801045: Produces better error messages when programmers forget to document a property. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by MikeSol
Modified:
12 years, 9 months ago
Reviewers:
mike, James.Lowe, Neil Puttock, Graham Percival, Janek Warchol, pkx166h
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Produces better error messages when programmers forget to document a property.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M scm/documentation-lib.scm View 2 chunks +6 lines, -1 line 1 comment Download

Messages

Total messages: 12
MikeSol
I've needed something like this for a long time - lemme know what you think! ...
12 years, 9 months ago (2011-07-20 12:47:56 UTC) #1
Neil Puttock
LGTM.
12 years, 9 months ago (2011-07-23 21:03:36 UTC) #2
Janek Warchol
On 2011/07/20 12:47:56, MikeSol wrote: > I've needed something like this for a long time ...
12 years, 9 months ago (2011-07-23 21:07:34 UTC) #3
pkx166h
Can you give me an idea what his does and how to test this or ...
12 years, 9 months ago (2011-07-23 22:05:34 UTC) #4
Neil Puttock
On 23 July 2011 23:05, <pkx166h@gmail.com> wrote: > Can you give me an idea what ...
12 years, 9 months ago (2011-07-23 22:24:57 UTC) #5
Neil Puttock
http://codereview.appspot.com/4801045/diff/1/scm/documentation-lib.scm File scm/documentation-lib.scm (right): http://codereview.appspot.com/4801045/diff/1/scm/documentation-lib.scm#newcode184 scm/documentation-lib.scm:184: (ly:error (_ "cannot find description for property ~S (~S)") ...
12 years, 9 months ago (2011-07-23 22:25:58 UTC) #6
Graham Percival
On Sat, Jul 23, 2011 at 10:05:34PM +0000, pkx166h@gmail.com wrote: > Can you give me ...
12 years, 9 months ago (2011-07-24 01:43:50 UTC) #7
mike_apollinemike.com
On Jul 24, 2011, at 12:05 AM, pkx166h@gmail.com wrote: > Can you give me an ...
12 years, 9 months ago (2011-07-24 08:41:27 UTC) #8
mike_apollinemike.com
On Jul 24, 2011, at 12:24 AM, Neil Puttock wrote: > On 23 July 2011 ...
12 years, 9 months ago (2011-07-24 08:42:00 UTC) #9
James.Lowe_datacore.com
Hello, )-----Original Message----- )From: lilypond-devel-bounces+james.lowe=datacore.com@gnu.org )[mailto:lilypond-devel-bounces+james.lowe=datacore.com@gnu.org] On )Behalf Of mike@apollinemike.com )Sent: 24 July 2011 09:41 ...
12 years, 9 months ago (2011-07-25 11:18:28 UTC) #10
MikeSol
On 2011/07/25 11:18:28, James.Lowe_datacore.com wrote: > Hello, > > )-----Original Message----- > )From: mailto:lilypond-devel-bounces+james.lowe=datacore.com@gnu.org > ...
12 years, 9 months ago (2011-07-27 08:43:05 UTC) #11
James.Lowe_datacore.com
12 years, 9 months ago (2011-07-27 10:14:26 UTC) #12
Hello,

)-----Original Message-----
)From: mtsolo@gmail.com [mailto:mtsolo@gmail.com]
)Sent: 27 July 2011 09:43
)To: n.puttock@gmail.com; lemniskata.bernoullego@gmail.com;
)pkx166h@gmail.com; graham@percival-music.ca;
)mike@apollinemike.com; James Lowe
)Cc: lilypond-devel@gnu.org; reply@codereview.appspotmail.com
)Subject: Re: Produces better error messages when programmers forget
)to document a property. (issue4801045)
)
)On 2011/07/25 11:18:28, James.Lowe_datacore.com wrote:
)> Hello,
)
)> )-----Original Message-----
)> )From: mailto:lilypond-devel-
)bounces+james.lowe=datacore.com@gnu.org
)> )[mailto:lilypond-devel-bounces+james.lowe=datacore.com@gnu.org]
)On
)> )Behalf Of mailto:mike@apollinemike.com
)> )Sent: 24 July 2011 09:41
)> )To: mtsolo@gmail.com; n.puttock@gmail.com;
)> )lemniskata.bernoullego@gmail.com; pkx166h@gmail.com; lilypond-
)> )devel@gnu.org; mailto:reply@codereview.appspotmail.com
)> )Subject: Re: Produces better error messages when programmers
)forget
)> )to document a property. (issue4801045)
)> )
)> )On Jul 24, 2011, at 12:05 AM, mailto:pkx166h@gmail.com wrote:
)> )
)> )> Can you give me an idea what his does and how to test this or what
)I
)> )> am going to see as someone who runs a lot of make/reg tests?
)> )>
)> )
)> )Try adding an undocumented property to an interface (i.e. add "foo"
)to
)> )the Stem interface) and then run make.  Before, make would throw an
)> )error about procedure-name when building internals.texi.  Now, it
)will still
)> )throw that error, but before that, it'll explicitly mention that
)"foo" is
)> )undocumented, allowing for one to then document it.
)> )
)> )Cheers,
)> )MS
)
)> Thanks, for this information. I'll try to run the test tonight - I ran
)out of
)> time yesterday - so I can see what it looks like when it does what it
)is
)> supposed to do, using Neil's 'broken' patch.
)
)> James
)
)Pushed as 922d59a242646c2488738d77263580427bd7764b.
)
)Cheers,
)MS
)
)http://codereview.appspot.com/4801045/

Oh.. Didn't get a chance to test it yet :)

But I have Neil's broken patch so I can still test it tonight for my own
personal point of view.

James
Sign in to reply to this message.

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