This should work
    
    
    proc getDefaultFiles(): array[TEMPLATE_FILES, string] {.compileTime.} =
      for i in TEMPLATE_FILES:
        result[i] = staticRead $i
    
    
    Run

Reply via email to