Skip to content

Commit 201ec75

Browse files
committed
[S14] traits are called in sink context
1 parent f6636e2 commit 201ec75

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

S14-roles-and-parametric-types.pod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Synopsis 14: Roles and Parametric Types [DRAFT]
1515

1616
Created: 24 Feb 2009 (extracted from S12-objects.pod)
1717

18-
Last Modified: 25 Feb 2012
19-
Version: 10
18+
Last Modified: 24 Nov 2012
19+
Version: 11
2020

2121
=head1 Overview
2222

@@ -433,6 +433,8 @@ have processed (or imported) a proto declaration introducing the new
433433
syntax before it can be parsed correctly. (This doesn't apply to
434434
pre-existing syntax such as C<is>, of course.)
435435

436+
Calls to C<trait_mod> routines are evaluated in sink context.
437+
436438
=head1 Parametric Roles
437439

438440
A role's main type is generic by default, but you can also parameterize

0 commit comments

Comments
 (0)