enum E { @serdeIgnoreCase a, b, @serdeIgnoreCase c, d, } static assert(hasSerdeIgnoreCase(E.a)); static assert(!hasSerdeIgnoreCase(E.b)); static assert(hasSerdeIgnoreCase(E.c)); static assert(!hasSerdeIgnoreCase(E.d));
@serdeIgnoreCase enum E { a, b, c, d, } static assert(hasSerdeIgnoreCase(E.a)); static assert(hasSerdeIgnoreCase(E.b)); static assert(hasSerdeIgnoreCase(E.c)); static assert(hasSerdeIgnoreCase(E.d));