Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.8.2
-
Fix Version/s: 0.9
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
It is often desirable to have a property with a type less specialized than the underlying field type.
Currently we have to get back to the long syntax to do that but we should be able to do that :
[getter(Foos as Foo*)] _foos = List[of Foo]() [getter(Actions as ICollection[of Action])] _actions = List[of Action]()
Great idea. Related: we also need a way to define accessibility using getter/setter/property macros.
[getter(Foos as Foo*)] [setter(protected Foos as List of Foo)] _foos = List of Foo()[getter(Foos as Foo*)] [setter(protected Foos as List of Foo)] _foos = List of Foo()