fix CI tests/errmsgs/tgcsafety.nim (#17721)
This commit is contained in:
parent
eff9d75379
commit
ae9231cfeb
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ discard """
|
|||
cmd: "nim check $file"
|
||||
errormsg: "type mismatch: got <AsyncHttpServer, Port, proc (req: Request): Future[system.void]{.locks: <unknown>.}>"
|
||||
nimout: '''
|
||||
tgcsafety.nim(30, 18) Error: type mismatch: got <AsyncHttpServer, Port, proc (req: Request): Future[system.void]{.locks: <unknown>.}>
|
||||
tgcsafety.nim(31, 18) Error: type mismatch: got <AsyncHttpServer, Port, proc (req: Request): Future[system.void]{.locks: <unknown>.}>
|
||||
but expected one of:
|
||||
proc serve(server: AsyncHttpServer; port: Port;
|
||||
callback: proc (request: Request): Future[void] {.closure, gcsafe.};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue