On 06-04-2012 09:47, Walter Bright wrote:
On 4/6/2012 12:42 AM, Alex Rønne Petersen wrote:Also, by storage class do you mean it will work only on fields?No. Storage classes work on fields, functions, and variables.
What about type declarations? I think those ought to be supported too. E.g. it makes sense to mark an entire type as @attr(serializable) (or the inverse).
-- - Alex