develooper Front page | perl.perl6.language | Postings from April 2006

[svn:perl6-synopsis] r8931 - doc/trunk/design/syn

From:
larry
Date:
April 24, 2006 08:19
Subject:
[svn:perl6-synopsis] r8931 - doc/trunk/design/syn
Message ID:
20060424151851.75BDDCBA47@x12.develooper.com
Author: larry
Date: Mon Apr 24 08:18:48 2006
New Revision: 8931

Modified:
   doc/trunk/design/syn/S02.pod

Log:
A postdeclaration may not change the syntax away from listop parsing rules.


Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod	(original)
+++ doc/trunk/design/syn/S02.pod	Mon Apr 24 08:18:48 2006
@@ -1552,6 +1552,10 @@
 since that's a run-time dispatch, and all multis are effectively
 visible at the point of the controlling C<proto> declaration.
 
+Parsing of a provisional call is always done the same way list operators
+are treated.  If a postdeclaration bends the syntax to be inconsistent
+with that, it is an error of the inconsistent signature variety.
+
 If the unrecogized subname is followed by C<< postcircumfix:<( )> >>, it is
 compiled as a provisional function call of the parenthesized form.
 If it is not, it is compiled as a provisional function call of



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