- changed status to open
Documentation must state that TEnum does not work on enumeration types with explicitly assigned ordinality
Issue #103
closed
This might be common knowledge to Delphi wizards, but I believe the documentation of Spring.SystemUtils.TEnum
should state that although it compiles fine, you cannot work on enumeration types like the following:
TSomeEnum = ( uno=1, dos=2, tres=3);
TEnum.IsValid<T>(..)
will raise a runtime exception since System.TypeInfo(T)
returns nil
for TSomeEnum
.
I believe this is important and should be added to the documentation
Comments (3)
-
repo owner -
repo owner - changed milestone to 1.2
-
assigned issue to
-
repo owner - changed status to closed
added remark to TEnum class (closes issue
#103)→ <<cset e6482492db94>>
- Log in to comment