summary refs log tree commit diff stats
path: root/lib/system/io.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/io.nim')
-rw-r--r--lib/system/io.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/io.nim b/lib/system/io.nim
index fcdfa79c0..7010a7fdb 100644
--- a/lib/system/io.nim
+++ b/lib/system/io.nim
@@ -685,7 +685,7 @@ proc writeFile*(filename, content: string) {.tags: [WriteIOEffect], benign.} =
   else:
     sysFatal(IOError, "cannot open: " & filename)
 
-proc writeFile*(filename: string, content: openArray[byte]) =
+proc writeFile*(filename: string, content: openArray[byte]) {.since: (1, 1).} =
   ## Opens a file named `filename` for writing. Then writes the
   ## `content` completely to the file and closes the file afterwards.
   ## Raises an IO exception in case of an error.