Hi All-

Is is possible to annotate the UInt32 in List(UInt32)? In the following 
example the annotation applies to the whole list, but I'm interested in 
just annotating the contained type:

struct Ex1 {
     array1 @0 :List(UInt32) $hide();
}


My understanding is that UInt32 is just a generic type parameter and that 
parameters can be annotated. I also tried something like this: "annotation 
baz(parameter) :Int32;" but got "error: Not a valid annotation target.".

... I suspect I'm not interpreting "parameter" correctly. Is it method 
parameter? If so, is there any other way to do what I'm looking for? If 
not, I just change the semantics of my annotations but I wanted to check 
first.

Thanks,
John

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/d5e76b4b-819f-4c8c-9bff-8b43cb1a5ac5%40googlegroups.com.

Reply via email to