Fixed a tricky type erasure bug in the scheduler

This commit is contained in:
2023-10-12 14:36:59 +01:00
parent af3e9f67fa
commit cb395da894
32 changed files with 147 additions and 125 deletions

7
examples/y/main.orc Normal file
View 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
)