Nim/tests/let
PMunch 9acbf99efb
Allow let to not have value when using importc (#14258)
* Allow let to not have value when using importc

This allows a let statement with the `{.importc.}` pragma to not be
initialised with a value. This allows us to declare C constants as Nim
lets without putting the value in the Nim code (which can lead to
errors, and requires us to go looking for the value). Fixes #14253

* Proper fix and documentation + changelog entry

* Improve testcase with one from timotheecour

* Add test to verify it working with macros
2020-05-12 20:28:18 +02:00
..
t7936.nim Revert #7964 2018-09-21 18:59:46 +02:00
timportc.nim Allow let to not have value when using importc (#14258) 2020-05-12 20:28:18 +02:00
timportc2.nim Allow let to not have value when using importc (#14258) 2020-05-12 20:28:18 +02:00
tlet.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tlet2.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00