summary refs log tree commit diff stats
path: root/lib/pure/json.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-03-23 02:51:21 -0700
committerGitHub <noreply@github.com>2021-03-23 02:51:21 -0700
commitc27cd83265558195316e0d3b6d13ccadcaecc728 (patch)
treeaa94c32ef7f9e5d1c094f94eef8ca1d4818db6a5 /lib/pure/json.nim
parentc719d79d232c1dc8d878b0799e1011519652016f (diff)
downloadNim-c27cd83265558195316e0d3b6d13ccadcaecc728.tar.gz
remove {.compileTime.} for procs with NimNode: redundant because of tfTriggersCompileTime (#17463)
Diffstat (limited to 'lib/pure/json.nim')
-rw-r--r--lib/pure/json.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim
index c09af32f3..048ed2797 100644
--- a/lib/pure/json.nim
+++ b/lib/pure/json.nim
@@ -398,7 +398,7 @@ proc `%`*(o: enum): JsonNode =
   ## string. Creates a new `JString JsonNode`.
   result = %($o)
 
-proc toJsonImpl(x: NimNode): NimNode {.compileTime.} =
+proc toJsonImpl(x: NimNode): NimNode =
   case x.kind
   of nnkBracket: # array
     if x.len == 0: return newCall(bindSym"newJArray")
@@ -1169,7 +1169,7 @@ when defined(nimFixedForwardGeneric):
     if typeExpr.kind == nnkTupleConstr:
       error("Use a named tuple instead of: " & typeExpr.repr, lineinfoNode)
 
-  proc foldObjectBody(dst, typeNode, tmpSym, jsonNode, jsonPath, originalJsonPathLen: NimNode): void {.compileTime.} =
+  proc foldObjectBody(dst, typeNode, tmpSym, jsonNode, jsonPath, originalJsonPathLen: NimNode) =
     case typeNode.kind
     of nnkEmpty:
       discard