On Thu Jul 30 11:55:42 2009, KyleHa wrote: > This is an automatically generated mail to inform you that tests are > now available in t/spec/S12-class/inheritance.t > > commit 47d8157ad8d75cc99f108a8c63a42e39ae49f6e1 > Author: kyle <kyle@c213334d-75ef-0310-aa23-eaa082d1ae64> > Date: Thu Jul 30 18:53:48 2009 +0000 > > [t/spec] Test for RT #64642 > > git-svn-id: http://svn.pugscode.org/pugs@27819 c213334d-75ef-0310- > aa23-eaa082d1ae64 > > diff --git a/t/spec/S12-class/inheritance.t b/t/spec/S12- > class/inheritance.t > index c0bd1f3..ed53950 100644 > --- a/t/spec/S12-class/inheritance.t > +++ b/t/spec/S12-class/inheritance.t > @@ -2,7 +2,7 @@ use v6; > > use Test; > > -plan 35; > +plan 36; > > # L<S12/Classes/An "isa" is just a trait that happens to be another > class> > > @@ -132,3 +132,6 @@ is(Y.new.k(), 'X', 'inherited method dispatch > works inside another class with sa > > # Make sure inheritnace from Object works (got broken in Rakudo > once). > eval_lives_ok 'class NotAny is Object { }; NotAny.new', 'inheritance > from Object works'; > + > +#?rakudo todo 'trying to inherit from a non-existent class' > +eval_dies_ok 'class RT64642 is ::Nowhere {}', 'dies: class D is ::C > {}'; >
This test is passing. Closing ticket. -- Will "Coke" Coleda