On 2012-11-08 11:56, simendsjo wrote:

Or
struct @foo {}
interface @foo {}
enum @foo {0
etc

That syntax looks a bit backwards to me. What if I want to annotate the attribute.

@serializable struct @foo {}

Looks a bit confusing which is the name of the attribute and the which is the attached annotation.

Vs

@serializable @attribute struct foo {}

No confusion here, "foo" is the name of the attribute, the rest is attached annotations.

--
/Jacob Carlborg

Reply via email to