Yet another {.nimcall.} magic fix.

This works:
    
    
    import tables
    
    proc test() =
      echo readfile(currentSourcePath())
    
    const
      map: Table[string, proc() {.nimcall.}] = {
        "test": test,
      }.toTable
    
    map["test"]()
    
    
    Run

Reply via email to