msoucy / dproto

D Protocol Buffer mixins to create structures at compile time
Boost Software License 1.0
37 stars 16 forks source link

about attrivutes.d #114

Open heketang opened 7 years ago

heketang commented 7 years ago

enum wireType = getAnnotation!(__field, ProtoField).wireType; p219;

when i test the function,the 'wireType' always is 2 ?so ,how to it work that 'if (wireType.msgType != PACKED_MSG_TYPE && __msgdata.wireType == PACKED_MSG_TYPE) ';

heketang commented 7 years ago

maybe i need to read more.