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

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

From:
larry
Date:
April 27, 2006 09:33
Subject:
[svn:perl6-synopsis] r8973 - doc/trunk/design/syn
Message ID:
20060427163321.97227CBA47@x12.develooper.com
Author: larry
Date: Thu Apr 27 09:33:20 2006
New Revision: 8973

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

Log:
Clarify placeholders are illegal if conflicting with other signature.


Modified: doc/trunk/design/syn/S06.pod
==============================================================================
--- doc/trunk/design/syn/S06.pod	(original)
+++ doc/trunk/design/syn/S06.pod	Thu Apr 27 09:33:20 2006
@@ -1286,6 +1286,8 @@
     -> $x,$y,$z { $y < $z && $x != 2 }
 
 Note that placeholder variables syntactically cannot have type constraints.
+Also, it is illegal to use placeholder variables in a block that already
+has a signature, because the autogenerated signature would conflict with that.
 
 =head1 Built-in Types
 



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