import macros rather than import std/macros. (#13762)
This commit is contained in:
parent
98753da331
commit
1b31e08917
1 changed files with 2 additions and 1 deletions
|
|
@ -96,7 +96,8 @@ since (1, 1):
|
|||
type StaticParam*[value] = object
|
||||
## used to wrap a static value in `genericParams`
|
||||
|
||||
import std/macros
|
||||
# NOTE: See https://github.com/nim-lang/Nim/issues/13758 - `import std/macros` does not work on OpenBSD
|
||||
import macros
|
||||
|
||||
macro genericParamsImpl(T: typedesc): untyped =
|
||||
# auxiliary macro needed, can't do it directly in `genericParams`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue