mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
10 lines
161 B
Plaintext
10 lines
161 B
Plaintext
import "io" for Stdin
|
|
|
|
Stdin.readLine() // stdin: one line
|
|
|
|
var error = Fiber.new {
|
|
Stdin.readLine()
|
|
}.try()
|
|
|
|
System.print(error) // expect: Stdin was closed.
|