mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 07:21:19 +00:00
import macros rather than import std/macros. (#13762)
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user