Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
This commit is contained in:
parent
f02e159b56
commit
70a30317f7
28 changed files with 103 additions and 52 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: '''
|
||||
type mismatch: got <AsyncHttpServer, Port, proc (req: Request): Future[system.void]{.locks: <unknown>.}>
|
||||
tgcsafety.nim(30, 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.};
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
errormsg: "in expression ' do:"
|
||||
nimout: '''
|
||||
Error: in expression ' do:
|
||||
twrongcolon.nim(11, 12) Error: in expression ' do:
|
||||
890': identifier expected, but found ''
|
||||
'''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue