Re: [perl #49175] [TODO] pct - throw useful exception for non-PAST children

2007-12-29 Thread chromatic
On Friday 28 December 2007 16:16:55 Patrick R.Michaud wrote: Whenever a PAST::Op node gets a non-PAST child, PCT currently throws a cryptic exception message like: Method 'named' not found for invocant of class 'Perl6::Grammar' A better exception message would be something like:

Re: [perl #49175] [TODO] pct - throw useful exception for non-PAST children

2007-12-29 Thread Allison Randal
Patrick R.Michaud (via RT) wrote: Whenever a PAST::Op node gets a non-PAST child, PCT currently throws a cryptic exception message like: Method 'named' not found for invocant of class 'Perl6::Grammar' A better exception message would be something like: Perl6::Grammar (2) child of PAST::Op

Re: [perl #49175] [TODO] pct - throw useful exception for non-PAST children

2007-12-29 Thread Patrick R. Michaud
On Fri, Dec 28, 2007 at 07:11:23PM -0800, chromatic wrote: On Friday 28 December 2007 16:16:55 Patrick R.Michaud wrote: Whenever a PAST::Op node gets a non-PAST child, PCT currently throws a cryptic exception message like: Method 'named' not found for invocant of class 'Perl6::Grammar'

Re: [perl #49175] [TODO] pct - throw useful exception for non-PAST children

2007-12-29 Thread Patrick R. Michaud
On Sat, Dec 29, 2007 at 12:04:09PM +0200, Allison Randal wrote: Patrick R.Michaud (via RT) wrote: Whenever a PAST::Op node gets a non-PAST child, PCT currently throws a cryptic exception message like: Method 'named' not found for invocant of class 'Perl6::Grammar' A better exception