msoucy / dproto

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

example broken assert(t2.email.exists()); => no property 'exists' for type 'string' #106

Closed timotheecour closed 7 years ago

timotheecour commented 7 years ago

@msoucy https://github.com/msoucy/dproto#more-complex-example is broken:

assert(t2.email.exists());

Error: no property 'exists' for type 'string'

what's a workaround?