If I create a module X.pmod with the contents
and then tries to run the following program
I will get the error that 'Index Y not present in module "X".' Doing other things with X.Y is however possible, like declaring a variable "X.Y foo;" in the Z class or making the statement werror("%O\n", indices(X.Y)); in main().
Works fine for me:
$ cat >lyslyskom16472935.pmod class Y { class X { } } $ cat >lyslyskom16472935bug.pike class Z { inherit .lyslyskom16472935.Y; }
void main() { } $ ./pike -mmaster.pike lyslyskom16472935bug.pike $