We are pleased to announce the availability of EiffelStudio 18.01.
Try it right now! All the download sites have been updated.
The highlights are:
{ARRAY [FIGURE]} << a_circle, a_rectangle>>
.{CLASS_NAME}.feature_name
. So far there were strict limits on feature_name – basically, it had to be a constant, as in {MATH_CONSTANTS}.Pi
,
or an external (non-Eiffel) routine, which by default does not need an
instance (an object). Now it is possible to use any "instance-free
feature", where "instance-free" means that it does not access the state,
in particular any non-constant attribute (if it did, of course, it
would need an object) and is marked as instance-free by having a
postcondition clause that reads just class
(meaning that it is a "class feature", relative to the class, not objects).See the release notes for details.
Happy Eiffeling,
-- The Eiffel Software Team