From 2299318d1e303ffdf5a9a79663e2c3b126bb5352 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 12 Aug 2015 10:11:58 +0200 Subject: toplevel .closure procs are deprecated --- web/news.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web') diff --git a/web/news.txt b/web/news.txt index 16ac286ae..c93bb821f 100644 --- a/web/news.txt +++ b/web/news.txt @@ -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. -- cgit 1.4.1-2-gfad0