mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 06:20:38 +00:00
new pragma: 'noinit'
This commit is contained in:
@@ -65,6 +65,8 @@ Language Additions
|
||||
a compile-time error.
|
||||
- There is a new ``discardable`` pragma that can be used to mark a routine
|
||||
so that its result can be discarded implicitely.
|
||||
- Added a new ``noinit`` pragma to prevent automatic initialization to zero
|
||||
of variables.
|
||||
- Constants can now have the type ``seq``.
|
||||
- There is a new user-definable syntactic construct ``a{i, ...}``
|
||||
that has no semantics yet for built-in types and so can be overloaded to your
|
||||
|
||||
Reference in New Issue
Block a user