Skip to content

Commit 7685316

Browse files
committed
the whole expression must be state, not just the anonymous variable
1 parent 86f110c commit 7685316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/typesystem.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,6 @@ X<|dynamic subset>
607607
608608
=for code :skip-test
609609
require ::('YourModule');
610-
subset C where $ = ::('YourModule::C');
610+
subset C where state $ = ::('YourModule::C');
611611
612612
=end pod

0 commit comments

Comments
 (0)