styleCheck: Fix some inconsistent identifiers (#16177)

This commit is contained in:
ee7 2020-12-21 18:41:56 +01:00 • committed by GitHub
commit 297c8e403d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 64 additions and 64 deletions

View file

@ -182,7 +182,7 @@ proc asyncSingleProc(prc: NimNode): NimNode {.compileTime.} =
elif returnType.kind == nnkEmpty:
baseType = returnType
else:
verifyReturnType(repr(returnType), returntype)
verifyReturnType(repr(returnType), returnType)
let subtypeIsVoid = returnType.kind == nnkEmpty or
(baseType.kind == nnkIdent and returnType[1].eqIdent("void"))