[perl #63800] Method 'result_object' not found calling make in a grammar action method

2009-06-02 Thread Patrick R. Michaud via RT
Rakudo now gives a much more useful error message for the case where make() cannot set a result object: $ cat 63800 grammar G { regex TOP { 'a' {*} } } class GA { method TOP($m) { make GA.new } } G.parse('a', :action(GA.new)); $ ./perl6 63800 make

Re: [perl #63800] Method 'result_object' not found calling make in a grammar action method

2009-03-12 Thread Patrick R. Michaud
On Thu, Mar 12, 2009 at 01:42:47AM -0700, Matthew Walton wrote: > Run this: > > grammar G { > regex TOP { 'a' {*} } > } > class GA { > method TOP($m) { make GA.new } > } > > G.parse('a', :action(GA.new)); > > > And this happens: > > rakudo ea3283: OUTPUT«Method 'result_object' not found fo

[perl #63800] Method 'result_object' not found calling make in a grammar action method

2009-03-12 Thread via RT
# New Ticket Created by Matthew Walton # Please include the string: [perl #63800] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63800 > Run this: grammar G { regex TOP { 'a' {*} } } class GA { method TOP($m) { make G