Skip to content

Commit 44e937d

Browse files
committed
Enums are now augmentable
I see no reason why an enum should not be augmentable. Indeed there are tests for augmenting Bool which is an enum by spec. So remove the bogus test.
1 parent be773e7 commit 44e937d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

S32-exceptions/misc.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use Test;
33
use lib "t/spec/packages";
44
use Test::Util;
55

6-
plan 347;
6+
plan 346;
77

88
throws-like '42 +', X::AdHoc, "missing rhs of infix", message => rx/term/;
99

@@ -127,7 +127,6 @@ throws-like 'augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping;
127127
throws-like '{ use MONKEY-TYPING; }; augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping,
128128
'MONKEY-TYPING applies lexically';
129129
throws-like 'use MONKEY-TYPING; augment role Positional { }', X::Syntax::Augment::Illegal;
130-
throws-like 'use MONKEY-TYPING; enum Weekday <Mon Tue>; augment class Weekday { }', X::Syntax::Augment::Illegal;
131130
throws-like 'sub postbla:sym<foo>() { }', X::Syntax::Extension::Category, category => 'postbla';
132131
# RT #73938
133132
throws-like 'sub twigil:<@>() { }', X::Syntax::Extension::Category, category => 'twigil';

0 commit comments

Comments
 (0)