Skip to content

Commit e0e32d0

Browse files
gfldexzoffixznet
authored andcommitted
note multi hiding via non-multi in lexical scope (#1574)
1 parent c8cc480 commit e0e32d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/Language/functions.pod6

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,10 @@ object:
279279
Unlike C<sub>, if you use named parameters with multi methods, the parameters must
280280
be required parameters to behave as expected.
281281
282+
Please note that a non-multi sub or operator will hide multi candidates of the
283+
same name in any parent scope or child scope. The same is true for imported
284+
non-multi candidates.
285+
282286
=head3 X<proto|declarator>
283287
284288
C<proto> is a way to formally declare commonalities between C<multi>

0 commit comments

Comments
 (0)