toplevel .closure procs are deprecated
This commit is contained in:
parent
2f721f0d99
commit
2299318d1e
3 changed files with 7 additions and 1 deletions
|
|
@ -46,6 +46,10 @@ News
|
|||
overloaded, so we removed it with no deprecation cycle.
|
||||
- To use the ``parallel`` statement you now have to
|
||||
use the ``--experimental`` mode.
|
||||
- Toplevel procs of calling convention ``closure`` never worked reliably
|
||||
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.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue