On Wed Jun 23 09:16:21 2010, bbkr wrote:
> On Wed Jun 23 09:02:21 2010, bbkr wrote:
> > Tests (not yet commited, second test case fails on Kiev build)
> > 
> > # RT #62878
> > {
> >     eval_lives_ok 'class Outside1 { class Inside1 {}; Inside1.new }',
> >         "can create instance of nested class in the same scope using
> > short name";
> > 
> >     eval_lives_ok 'class Outside2 { class Inside2 {};
> > Outside2::Inside2.new }',
> >         "can create instance of nested class in the same scope using
> > full name";
> > 
> >     class Outside3 { class Inside3 {}; };
> >     isa_ok Inside3.new, Inside3,
> >         "can create instance of nested class outside declaration scope
> > using short name";
> > 
> > }
> 
> [18:10] <ash_> according to std you shouldn't be able to do class A {
> class B { }; }; B.new # one of your tests is like that

The test may fail, but it doesn't have an null PMC error as the original did. 
The original ticket 
is closable, as long as it's tested.

If there's a disagreement about whether or not these suggested tests should 
pass, that's a 
new ticket.

-- 
Will "Coke" Coleda

Reply via email to