adl-lang/adl

`Void` type annotations without specifying `null` serialized value

Closed this issue · 1 comments

Currently, annotations of the Void type needs to specify null as the serialized value, e.g.

newtype Localizable = Void;

struct MyStruct {
    @Localizable null
    String name;
}

Since there can only be one value for a Void type, it would be good to make this implicit and allow annotations like so:

@Localizable
String name;

Fixed with 48895ad