summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-05-07 10:36:41 -0700
committerGitHub <noreply@github.com>2021-05-07 19:36:41 +0200
commit98c29c01eb91a0c6ce7da09380a272eebe6bca6f (patch)
treec7b9da12072df412fb52dffc3ac9f4c7c9b73be5 /lib/core
parent51f3ef6cb8ac9fbbc9533c1de2af219dc4ecabe7 (diff)
downloadNim-98c29c01eb91a0c6ce7da09380a272eebe6bca6f.tar.gz
fix #14873 properly by skipping `abi` field in importc type (#17944)
* fix #14873 properly by skipping `abi` field in importc type

* add test

* fix test for windows
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/locks.nim5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/core/locks.nim b/lib/core/locks.nim
index 92967b9db..baec45829 100644
--- a/lib/core/locks.nim
+++ b/lib/core/locks.nim
@@ -28,11 +28,6 @@ type
 
 {.push stackTrace: off.}
 
-
-proc `$`*(lock: Lock): string =
-  # workaround bug #14873
-  result = "()"
-
 proc initLock*(lock: var Lock) {.inline.} =
   ## Initializes the given lock.
   when not defined(js):