Is there a way to resolve where a macro was called in an async stack trace?
Here is an example:
nim
/home/ubuntu/gemini/mine/gemini_server.nim(113) gemini_server
/opt/nim/lib/pure/asyncdispatch.nim(1935) waitFor
/opt/nim/lib/pure/asyncdispatch.nim(1627) poll
/opt/nim/lib/pure/asyncdispatch.nim(1368) runOnce
/opt/nim/lib/pure/asyncdispatch.nim(208) processPendingCallbacks
/opt/nim/lib/pure/asyncmacro.nim(29) hn_itemNimAsyncContinue
/opt/nim/lib/pure/json.nim(773) hn_itemIter
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
My code has a proc hn_item() which contains a for loop on the content of a seq[Future[JsonNode]]. I suspect that the crash comes from there but what would the actual line in my source code be?