Skip to content

Commit 8dc98e7

Browse files
committed
All CX:: packages are classes and not roles
1 parent 1ad5fff commit 8dc98e7

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

doc/Type/CX/Emit.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
=SUBTITLE Emit control exception
66

7-
role CX::Emit does X::Control { }
7+
class CX::Emit does X::Control { }
88

99
A L<control exception|/language/exceptions#Control_exceptions> to be used when
1010
emit is used inside a L<C<Supply>|/type/Supply> block.

doc/Type/CX/Last.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
=SUBTITLE Last control exception
66

7-
role CX::Last does X::Control { }
7+
class CX::Last does X::Control { }
88

99
A L<control exception|/language/exceptions#Control_exceptions> that is thrown
1010
when C<last> is called.

doc/Type/CX/Next.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
=SUBTITLE Next control exception
66

7-
role CX::Next does X::Control { }
7+
class CX::Next does X::Control { }
88

99
A L<control exception|/language/exceptions#Control_exceptions> that is triggered
1010
when C<next> is called.

doc/Type/CX/Proceed.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
=SUBTITLE Proceed control exception
66

7-
role CX::Proceed does X::Control { }
7+
class CX::Proceed does X::Control { }
88

99
A L<control exception|/language/exceptions#Control_exceptions> to be used when
1010
C<proceed> is used within C<when> or C<default> blocks.

doc/Type/CX/Redo.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
=SUBTITLE Redo control exception
66

7-
role CX::Redo does X::Control { }
7+
class CX::Redo does X::Control { }
88

99
A L<control exception|/language/exceptions#Control_exceptions> thrown when
1010
C<redo> is called.

doc/Type/CX/Return.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
=SUBTITLE Return control exception
66

7-
role CX::Next does X::Control { }
7+
class CX::Next does X::Control { }
88

99
A L<control exception|/language/exceptions#Control_exceptions> to be used when
1010
return is called from within a sub.

doc/Type/CX/Succeed.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
=SUBTITLE Succeed control exception
66

7-
role CX::Succeed does X::Control { }
7+
class CX::Succeed does X::Control { }
88

99
A L<control exception|/language/exceptions#Control_exceptions> thrown when
1010
C<succeed> is called from a C<when> or C<default> block.

doc/Type/CX/Take.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
=SUBTITLE Take control exception
66

7-
role CX::Take does X::Control { }
7+
class CX::Take does X::Control { }
88

99
A L<control exception|/language/exceptions#Control_exceptions> triggered by
1010
C<take>.

0 commit comments

Comments
 (0)