This code can work under 0.19.6, but fail to compile in 0.20.0 Is it a bug or 
some other breaking changes I need to knew?

Error: invalid type: 'KeyValuePairSeq[system.string, proc (){.gcsafe, locks: 
0.}]' for var 
    
    
    import tables
    
    proc test() =
      echo readfile(currentSourcePath())
    
    const
      map = {
        "test": test,
      }.toTable
    
    map["test"]()
    
    
    
    Run

Reply via email to