'func' is now an alias for 'proc .noSideEffect'

This commit is contained in:
Andreas Rumpf 2018-04-12 17:04:15 +02:00
commit ea8afebf8c
2 changed files with 10 additions and 7 deletions

View file

@ -35,6 +35,7 @@
- Dot calls combined with explicit generic instantiations can now be written
as ``x.y[:z]``. ``x.y[:z]`` that is transformed into ``y[z](x)`` in the parser.
- ``func`` is now an alias for ``proc {.noSideEffect.}``.
### Language changes
@ -43,7 +44,7 @@
the use of `static[T]` types.
(#6415)
- Native C++ exceptions can now be imported with `importcpp` pragma.
- Native C++ exceptions can now be imported with `importcpp` pragma.
Imported exceptions can be raised and caught just like Nim exceptions.
More details in language manual.