Commit Graph

5 Commits

Author SHA1 Message Date
Tanguy c282ff68c0
Fixes for interop (#4) 2022-11-07 18:09:41 +01:00
Tanguy 9fba811117
Typed pubsub (#3) 2022-11-02 20:29:29 +01:00
Michael Bradley, Jr 3574ef490d todo proc type should indicate gcsafe
when compiling with `--threads:on` if `{.gcsafe.}` is not indicated for
`todo: proc(c: Client): Future[void]` then compilation will fail with
"Error: 'runner' is not GC-safe as it performs an indirect call via 'todo'"

see the logic in `proc trackProc` of `compiler/sempass2.nim`:
https://github.com/nim-lang/Nim/blob/v1.6.6/compiler/sempass2.nim#L1394
2022-08-23 07:06:11 -05:00
Tanguy 935ae9e2c4
Add support for scenario parameters 2022-08-03 15:56:42 +02:00
Tanguy a927e0fa15
first commit 2022-07-21 17:46:30 +02:00