Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unfudge now passing test
  • Loading branch information
lizmat committed Oct 8, 2015
1 parent f9d8b9a commit 1152761
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions S12-attributes/smiley.t
Expand Up @@ -24,11 +24,9 @@ class Foo5 { has Int:U $.bar = IntStr }
ok Foo5.new.bar ~~ Int, 'Int:U on attribute with initializer';

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

Expand Down

0 comments on commit 1152761

Please sign in to comment.