remove redundant void return in stdlib (#17464)
This commit is contained in:
parent
a75c4b70e8
commit
4f9aaee1d9
7 changed files with 11 additions and 12 deletions
|
|
@ -1165,7 +1165,7 @@ when defined(nimFixedForwardGeneric):
|
|||
proc initFromJson[T: distinct](dst: var T; jsonNode: JsonNode; jsonPath: var string) =
|
||||
assignDistinctImpl(dst, jsonNode, jsonPath)
|
||||
|
||||
proc detectIncompatibleType(typeExpr, lineinfoNode: NimNode): void =
|
||||
proc detectIncompatibleType(typeExpr, lineinfoNode: NimNode) =
|
||||
if typeExpr.kind == nnkTupleConstr:
|
||||
error("Use a named tuple instead of: " & typeExpr.repr, lineinfoNode)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue