Skip to content

Commit 1152761

Browse files
committed
Unfudge now passing test
1 parent f9d8b9a commit 1152761

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

S12-attributes/smiley.t

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ class Foo5 { has Int:U $.bar = IntStr }
2424
ok Foo5.new.bar ~~ Int, 'Int:U on attribute with initializer';
2525

2626
{
27-
use attributes :D;
28-
#?rakudo todo 'attributes pragma NYI'
29-
throws-like 'class Foo6 { has Int $.bar }',
27+
throws-like 'use attributes :D; class Foo6 { has Int $.bar }',
3028
X::Syntax::Variable::MissingInitializer,
31-
type => 'Int:D',
29+
type => 'Int (with implicit :D)',
3230
'Int:D on attribute wíthout initializer throws';
3331
}
3432

0 commit comments

Comments
 (0)