Is there a way to use nested attributes in Delphi? At the moment I'm using Delphi XE.
For example:
TCompoundAttribute = class (TCustomAttribute)
public
constructor Create (A1, A2 : TCustomAttribute)
end;
And the usage would be
[ TCompoundAttribute (TSomeAttribute ('foo'), TOtherAttribute ('bar')) ]
At the moment this leads to an internal error. This would be a nice feature to create some boolean expressions on attributes.