Fixed a tricky type erasure bug in the scheduler
This commit is contained in:
7
examples/y/main.orc
Normal file
7
examples/y/main.orc
Normal file
@@ -0,0 +1,7 @@
|
||||
import system::async::(set_timer, yield)
|
||||
import system::io::(readln, println)
|
||||
|
||||
const main := (
|
||||
set_timer true 1 (println "y" yield)
|
||||
\cancel. readln \a. cancel
|
||||
)
|
||||
Reference in New Issue
Block a user