On Thu Jan 29 21:02:29 2009, s1n wrote: > On Thu Jan 29 20:48:56 2009, s1n wrote: > > As of r36167, this isn't crashing anymore. Should probably mark this > > resolved since it's now OBE. > > I added a test to S12-enums/basic.t to make sure this works: > > > --- basic.t (revision 25107) > +++ basic.t (working copy) > @@ -1,6 +1,6 @@ > use v6; > use Test; > -plan 9; > +plan 10; > > # Very basic enum tests > > @@ -28,3 +28,5 @@ > { > is JustOne::Thing, 0, 'Enum of one element works.'; > } > + > +lives_ok { enum Empty <> }, "empty enum can be constructed";
Excellent - resolving ticket. Thanks all, Jonathan