# New Ticket Created by Carlin Bingham # Please include the string: [perl #69760] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69760 >
[00:19] <carlin> rakudo: class Foo { method bar { Quux.parse('OH HAI'); } }; grammar Quux { rule TOP { .* } }; Foo.bar; [00:19] <p6eval> -rakudo 54cfe4: OUTPUT«invoke() not implemented in class 'Capture'in Main (file src/gen_setting.pm, line 206)» [00:20] <moritz_> +that's a less-than-awesome error message, but you're not allowed to use Quux until it's declared [00:21] <carlin> Yeah, I thought that was the problem but the error didn't help much [00:22] <moritz_> +carlin: feel free to ticket it [00:23] <moritz_> +std: class Foo { method bar { Quux.parse('OH HAI'); } }; grammar Quux { rule TOP { .* } }; Foo.bar; [00:23] <p6eval> -std 28789: OUTPUT«Illegally post-declared type: Quux used at line 1ok 00:02 109m» -- Carlin