diff options
author | Araq <rumpf_a@web.de> | 2011-01-11 01:09:48 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-01-11 01:09:48 +0100 |
commit | 1a8c6fb49fd9e12168895266c0067240e2bcb897 (patch) | |
tree | 2facb8bc368d121ebaf63a9e113283af63e182e8 /web/news.txt | |
parent | d48ab374959eed4c5acbbb38e7ea86a011854102 (diff) | |
download | Nim-1a8c6fb49fd9e12168895266c0067240e2bcb897.tar.gz |
Feature: explicit string representation for enum fields
Diffstat (limited to 'web/news.txt')
-rwxr-xr-x | web/news.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web/news.txt b/web/news.txt index d81a4b8aa..f421f0f70 100755 --- a/web/news.txt +++ b/web/news.txt @@ -23,6 +23,13 @@ Bugfixes anymore. +Changes affecting backwards compatibility +----------------------------------------- + +- Operators starting with ``^`` are now right-associative and have the highest + priority. + + Additions --------- @@ -37,6 +44,10 @@ Additions - Added ``emit`` pragma for direct code generator control. - Additional operations were added to the ``complex`` module. - Added ``strutils.formatFloat``, ``strutils.formatBiggestFloat``. +- A field in an ``enum`` may be given an explicit string representation. + This yields more maintainable code than using a constant + ``array[TMyEnum, string]`` mapping. + 2010-10-20 Version 0.8.10 released |