Given:

A.pmod/B.pike

inherit Pike.Annotation;

A.pmod/C.pike

inherit Pike.Annotation;

and

test.pike:

@A.B;

  

@A.C:
string foo;

function bar;

class gazonk {
@A.B;
}

I can do:

> object o = ((program)"test.pike")();  
> mkmapping(indices(o), annotations(o));
(1) Result: ([ /* 3 elements */
              "bar": 0,
              "foo": (< /* 1 element */
                  A.C
                >),
              "gazonk": 0
            ])

But I’m puzzled as to why gazonk is 0 and not (<A.B>). Also, how would I query program(“test.pike”) to see that it has A.C defined within it? I have not dug too far into this yet, just hoping there’s an obvious answer I’ve missed.

Thanks in advance!

Bill