mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
5 lines
142 B
Plaintext
5 lines
142 B
Plaintext
import "io" for File
|
|
|
|
var file = File.open("test/io/file/file.txt")
|
|
file.readBytes(1, -1) // expect runtime error: Offset cannot be negative.
|