Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct a bogus Complex constraint test.
Didn't actually try it on Niecza, but pretty certain it will pass now
too, so unfudged it for both Rakudo and Niecza.
  • Loading branch information
jnthn committed Oct 2, 2014
1 parent d9596f7 commit 08ef117
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions S02-types/declare.t
Expand Up @@ -20,12 +20,8 @@ plan 78;
isa_ok($namcu,Num);
}

# Type mismatch in assignment; expected something matching type Complex but got something of type Num()

#?rakudo skip 'Complex not type converted properly during assignment from Rat: RT #122347'
#?niecza skip 'Complex not type converted properly during assignment from Rat'
{
my Complex $namcu =1.3;
my Complex $namcu = 1.3 + 0i;
isa_ok($namcu,Complex);
}

Expand Down

0 comments on commit 08ef117

Please sign in to comment.