We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be25007 + acc559a commit e187cf9Copy full SHA for e187cf9
doc/Language/grammar_tutorial.pod6
@@ -301,7 +301,14 @@ grammar Quoted-Other does Letters does Quote-Other {
301
}
302
=end code
303
304
-Will output exactly the same as the code above.
+Will output exactly the same as the code above. Symptomatic of the difference
305
+between Classes and Roles, a conflict like defining C<token quote> twice
306
+using Role composition will result in an error:
307
+
308
+=begin code
309
+grammar Quoted-Quotes does Letters does Quote-Quotes does Quote-Other { ... }
310
+# OUTPUT: ... Error while compiling ... Method 'quote' must be resolved ...
311
+=end code
312
313
=head2 Adding some constraints
314
0 commit comments