* fix #14873 properly by skipping `abi` field in importc type * add test * fix test for windows
This commit is contained in:
parent
51f3ef6cb8
commit
98c29c01eb
3 changed files with 17 additions and 14 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue