method hiding (or not) in derived classes

2008-04-19 Thread John M. Dlugosz
Perl 6 has a concept of a "candidate list". The candidate list are those that could handle the call, typically inherited methods and multi variations. It seems that multi variations, at least with respect to the semicolon parameters, compare the actual type and drop out of the list if any don

Re: [perl #52916] [PATCH] Making NCI test C++ compatible

2008-04-19 Thread Mark Glines
On Sat, 19 Apr 2008 11:26:13 +0530 "Senaka Fernando" <[EMAIL PROTECTED]> wrote: > Hi Mark, > > What does the fix to 't/codingstd/c_indent.t' do? Does it ignore > anything inside #ifdef __cplusplus blocks? Yes. This lets us add any g++-specific stuff without throwing off the indentation. Mark

[perl #53034] [PATCH] Sensible error message for missing config step test

2008-04-19 Thread James Keenan via RT
On Thu Apr 17 23:29:02 2008, geoff wrote: > The attached small patch makes Configure give a sensible error message > when a config step has no associated test files, rather than exploding > obtusely. > I've incorporated this patch, modified by Andy Dougherty's recommendation to warn rather than d

[perl #53066] consting vtable methods

2008-04-19 Thread via RT
# New Ticket Created by Mark Glines # Please include the string: [perl #53066] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=53066 > Hi, I've run into a design issue that I'm hoping for some discussion on. Every time you

Re: [perl #53072] [PATCH] Fix crashes in Lua, free()ing an invalid pointer

2008-04-19 Thread chromatic
On Saturday 19 April 2008 09:31:12 Mark Glines wrote: > Gcc emits the following warnings: > > ./lua.pmc: In function 'Parrot_Lua_nci_caller': > ./lua.pmc:127: warning: passing argument 2 of 'strncmp' from incompatible > pointer type ./lua.pmc:128: warning: passing argument 1 of > 'string_cstring_f

[perl #53072] [PATCH] Fix crashes in Lua, free()ing an invalid pointer

2008-04-19 Thread via RT
# New Ticket Created by Mark Glines # Please include the string: [perl #53072] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=53072 > Gcc emits the following warnings: ./lua.pmc: In function 'Parrot_Lua_nci_caller': ./lua.

[perl #53072] [PATCH] Fix crashes in Lua, free()ing an invalid pointer

2008-04-19 Thread Mark Glines via RT
On Sat Apr 19 11:08:47 2008, [EMAIL PROTECTED] wrote: > On Saturday 19 April 2008 09:31:12 Mark Glines wrote: > > I'm hoping someone familiar with > > the internals can review this, to make sure I haven't just created a > > memory leak. > > The patch is correct. Thanks for the review. Checked in

[perl #53082] rakudo does not use the line numbering feature of imcc. may be hllcompiler does not support it.

2008-04-19 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #53082] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=53082 > This is part of an probably recurring serie of "end-user" bugs that ask in substance

Re: [perl #53066] consting vtable methods

2008-04-19 Thread NotFound
Hello. > This is where I ran into problems. Is get_string constable? It seems > possible that someone somewhere would want to cache a stringification > that was computationally intensive, for later reuse. So now (as > bernhard kindly pointed out to me), this is starting to sound like a > d

Re: [perl #53066] consting vtable methods

2008-04-19 Thread Mark Glines
On Sat, 19 Apr 2008 21:45:49 +0200 NotFound <[EMAIL PROTECTED]> wrote: Hi! > I faced the same problem when trying to get rid of some warnings in > order to help cage cleaning. Adding or removing a const in the > parameters of many functions becomes a design change, not a simple > code cleaning. I

Re: [perl #53066] consting vtable methods

2008-04-19 Thread Andy Lester
Just popping in to say that we cannot const any parms to vtable methods. Parrot can't impose promises on the called code. Take for example whatever the vtable method is to return the count of elements in the array. You'd think this would easily be constable, but we cannot at this point in time te

[perl #52212] [BUG]: Darwin configuration problem at step auto::readline diagnosed with respect to libedit and editline

2008-04-19 Thread James Keenan via RT
On Sat Apr 19 10:33:34 2008, [EMAIL PROTECTED] wrote: > I have attached a somewhat ugly patch to config/auto/readline.pm that > gets my Darwin box to > fail the readline test without spitting errors about missing symbols > out to the user. This Did No Harm on either of the two OSes on which I trie

[perl #53088] OpenGL needs some detection tweaks

2008-04-19 Thread via RT
# New Ticket Created by Mark Glines # Please include the string: [perl #53088] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=53088 > [16:37] Incidentally, I can get the test for opengl to build on a more vanilla OS X by

[perl #52196] [TODO] Secure F2F user feedback for configure-build-test cycle for Parrot and languages

2008-04-19 Thread James Keenan via RT
On Sat Apr 05 17:14:38 2008, [EMAIL PROTECTED] wrote: > Perl Seminar NY will conduct such a Parrot/Rakudo buildfest on Tuesday > April 15. We did indeed have this buildfest last Tuesday with 7 participants. Here's what one participant -- an experienced Unix guy but not a frequent perlsemny attend

#49758: [BUG] rakudo segfaults after "No scope found for PAST::Var" error

2008-04-19 Thread Stéphane Payrard
Index: t/compilers/imcc/syn/symbols.t === --- t/compilers/imcc/syn/symbols.t (revision 27038) +++ t/compilers/imcc/syn/symbols.t (working copy) @@ -7,7 +7,7 @@ use lib qw( . lib ../lib ../../lib ); use Test::More; use Parr

[perl #53084] OpenGL detection needs $DISPLAY

2008-04-19 Thread via RT
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #53084] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=53084 > --- osname= linux osvers= 2.6.24-arch arch= i686-linux cc= cc --- Flags:

[perl #53086] OpenGL detection under MacOS X

2008-04-19 Thread via RT
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #53086] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=53086 > --- osname= darwin osvers= 9.1.0 arch= darwin-2level cc= cc --- Flags: c

Critisizms on postcircumfix:<( )>

2008-04-19 Thread John M. Dlugosz
I think the idea of "The expected semantics of &.() is that of a type coercion..." confuses the notion of function call and conversion. If anything other than a Code object has one, it is acting as a functor, or function-like object. The meaning of Dog(args) is seemingly a class method anyway,