sorear/niecza

Test::isa_ok() - Issues with type object.

Opened this issue · 0 comments

coke commented

Two potentially related failures:

in S32-list/first.t:

niecza> isa_ok(3,Int);
ok 1
niecza> isa_ok(3, Nil);
No value for parameter '$type' in 'isa_ok'
  at <unknown> line 0 (ExitRunloop @ 0)
  at (eval) line 1 (mainline @ 3)
  at <unknown> line 0 (ExitRunloop @ 0)

in S12-attributes/recursive.t

    my $z1 = Z.new;
    isa_ok $z1.a[0], Z, "check type-object";
    isa_ok $z1.h<k>, Z, "check type-object";