[ create a new paste ] login | about

Link: http://codepad.org/D0FdAuWy    [ raw code | output | fork ]

D, pasted on May 14:
1
2
3
4
5
6
7
8
9
10
11
12
13
class Base{
protected class X{}
}

class Deliv : Base{
protected class Y : X{}
}

void main()
{


}


Output:
1
Line 6: class t.Deliv.Y super class X is nested within Base, not Deliv


Create a new paste based on this one


Comments: