diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-07-05 01:42:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-05 01:42:17 +0200 |
commit | 5f515410afb5c47df114652fbd96f62079c08c30 (patch) | |
tree | bb50db7c501f3b114516a2f8387cdeb71cb5012c /lib/system/memtracker.nim | |
parent | d914dca513dca77510077862ace5420792129bca (diff) | |
download | Nim-5f515410afb5c47df114652fbd96f62079c08c30.tar.gz |
newruntime for async (#11650)
* fixes overloading resolution for passing owned(Future[string]) to Future[T] * WIP: make --newruntime work with .async * memtracker: make it compile again * make Nimble compile again
Diffstat (limited to 'lib/system/memtracker.nim')
-rw-r--r-- | lib/system/memtracker.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/memtracker.nim b/lib/system/memtracker.nim index 1b1f18039..69c8d5575 100644 --- a/lib/system/memtracker.nim +++ b/lib/system/memtracker.nim @@ -70,7 +70,7 @@ proc addEntry(entry: LogEntry) = if interesting: gLog.disabled = true cprintf("interesting %s:%ld %s\n", entry.file, entry.line, entry.op) - let x = cast[proc() {.nimcall, tags: [], gcsafe, locks: 0.}](writeStackTrace) + let x = cast[proc() {.nimcall, tags: [], gcsafe, locks: 0, raises: [].}](writeStackTrace) x() quit 1 #if gLog.count > high(gLog.data): |