develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33780 - trunk/languages/perl6/src/parser

From:
jonathan
Date:
December 10, 2008 14:25
Subject:
[svn:parrot] r33780 - trunk/languages/perl6/src/parser
Message ID:
20081210222517.808F4CBA89@x12.develooper.com
Author: jonathan
Date: Wed Dec 10 14:25:16 2008
New Revision: 33780

Modified:
   trunk/languages/perl6/src/parser/actions.pm

Log:
[rakudo] If we add an invocant to a signature, we must mark that it is a multi invocant too.

Modified: trunk/languages/perl6/src/parser/actions.pm
==============================================================================
--- trunk/languages/perl6/src/parser/actions.pm	(original)
+++ trunk/languages/perl6/src/parser/actions.pm	Wed Dec 10 14:25:16 2008
@@ -578,6 +578,7 @@
             my $descriptor := sig_descriptor_create();
             sig_descriptor_set($descriptor, 'name', PAST::Val.new( :value('$') ));
             sig_descriptor_set($descriptor, 'invocant', 1);
+            sig_descriptor_set($descriptor, 'multi_invocant', 1);
             sig_descriptor_set($descriptor, 'constraints',
                 PAST::Op.new(
                     :pasttype('call'),



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About