fixes #2590; methods now require a .base annotation
This commit is contained in:
parent
d2e4d6ad82
commit
dc047931bb
17 changed files with 69 additions and 32 deletions
13
web/news.txt
13
web/news.txt
|
|
@ -50,6 +50,9 @@ News
|
|||
and are now deprecated and will be removed from the language. Instead you
|
||||
have to insert type conversions
|
||||
like ``(proc (a, b: int) {.closure.})(myToplevelProc)`` if necessary.
|
||||
- The modules ``libffi``, ``sdl``, ``windows``, ``zipfiles``, ``libzip``,
|
||||
``zlib``, ``zzip``, ``dialogs``, ``expat``, ``graphics``, ``libcurl``,
|
||||
``sphinx`` have been moved out of the stdlib and are Nimble packages now.
|
||||
- The constant fights between 32 and 64 bit DLLs on Windows have been put to
|
||||
an end: The standard distribution now ships with 32 and 64 bit versions
|
||||
of all the DLLs the standard library needs. This means that the following
|
||||
|
|
@ -66,9 +69,11 @@ News
|
|||
was previously. Macros that generate nkPar nodes when object is expected are
|
||||
likely to break. Macros that expect nkPar nodes to which objects are passed
|
||||
are likely to break as well.
|
||||
- Base methods now need to be annotated with the ``base`` pragma. This makes
|
||||
multi methods less error-prone to use with the effect system.
|
||||
|
||||
|
||||
Library additions
|
||||
Library Additions
|
||||
-----------------
|
||||
|
||||
- The nre module has been added, providing a better interface to PCRE than re.
|
||||
|
|
@ -81,6 +86,12 @@ News
|
|||
locale anymore and now take an optional ``decimalSep = '.'`` parameter.
|
||||
|
||||
|
||||
Compiler Additions
|
||||
------------------
|
||||
|
||||
- The compiler now supports a new configuration system based on ``NimScript``.
|
||||
|
||||
|
||||
Language Additions
|
||||
------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue