On Sun, 17 Feb 2013 13:18:05 -0800
Walter Bright <[email protected]> wrote:

> On 2/17/2013 12:51 PM, Jacob Carlborg wrote:
> > I just stripped out all D1 and Tango related code from Orange.
> > D1/Tango is still supported in the d1 branch. Hopefully this will
> > make it easier to integrate into Phobos.
> >
> > It also now supports UDA's for indicating a field/class/struct
> > shouldn't be serialized:
> >
> > class Foo
> > {
> >      @nonSerialized int a;
> > }
> >
> > @nonSerialized class Bar { }
> 
> Hmm, shouldn't it be the other way around - marking the ones to be
> serialized?
> 

You're already opting-in to serialization anyway when you say
"serialize object foobar". @serializable would just be redundant.

Reply via email to