summary refs log tree commit diff stats
path: root/tests/errmsgs/tgcsafety.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2019-07-06 20:09:26 -0700
committerTimothee Cour <timothee.cour2@gmail.com>2019-07-08 15:24:20 -0700
commitb80d70b0f38413d06fb80d3df9296a6be897a278 (patch)
treed01e071f33891c5e7de4780ab63585a268fb46d1 /tests/errmsgs/tgcsafety.nim
parenta6526695f0972513913498c7b049a8dfb76814a3 (diff)
downloadNim-b80d70b0f38413d06fb80d3df9296a6be897a278.tar.gz
fix tests
Diffstat (limited to 'tests/errmsgs/tgcsafety.nim')
-rw-r--r--tests/errmsgs/tgcsafety.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errmsgs/tgcsafety.nim b/tests/errmsgs/tgcsafety.nim
index ffc6905b0..beaeae544 100644
--- a/tests/errmsgs/tgcsafety.nim
+++ b/tests/errmsgs/tgcsafety.nim
@@ -8,7 +8,7 @@ proc serve(server: AsyncHttpServer; port: Port;
           callback: proc (request: Request): Future[void] {.closure, gcsafe.};
           address = ""): Future[void]
   first type mismatch at position: 3
-  required type: proc (request: Request): Future[system.void]{.closure, gcsafe.}
+  required type for callback: proc (request: Request): Future[system.void]{.closure, gcsafe.}
   but expression 'cb' is of type: proc (req: Request): Future[system.void]{.locks: <unknown>.}
   This expression is not GC-safe. Annotate the proc with {.gcsafe.} to get extended error information.