From 5f515410afb5c47df114652fbd96f62079c08c30 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 5 Jul 2019 01:42:17 +0200 Subject: 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 --- lib/system/memtracker.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/system') 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): -- cgit 1.4.1-2-gfad0