diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-05-11 23:27:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 08:27:47 +0200 |
commit | b8ec07f19e3fdeb2f86591c0e5f6af1a87063cf3 (patch) | |
tree | c7ba7568120a43842580dfe7a07191696ade2c8f /lib/pure | |
parent | a39123c93c9d2976300f1b8eba09d40b16f1c46c (diff) | |
download | Nim-b8ec07f19e3fdeb2f86591c0e5f6af1a87063cf3.tar.gz |
properly fixes #13758 so that `import std/macros` stays legal (#14291)
* properly fix https://github.com/nim-lang/Nim/issues/12389 * use --lib:lib in koch.nim.cfg instead * third time is the charm
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/typetraits.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pure/typetraits.nim b/lib/pure/typetraits.nim index 0ac6d0d1c..9a215a353 100644 --- a/lib/pure/typetraits.nim +++ b/lib/pure/typetraits.nim @@ -93,8 +93,7 @@ since (1, 1): type StaticParam*[value: static type] = object ## used to wrap a static value in `genericParams` -# NOTE: See https://github.com/nim-lang/Nim/issues/13758 - `import std/macros` does not work on OpenBSD -import macros +import std/macros macro genericParamsImpl(T: typedesc): untyped = # auxiliary macro needed, can't do it directly in `genericParams` |