Zulip Chat Archive
Stream: lean4
Topic: server hang using tasks
Mario Carneiro (Apr 26 2021 at 08:09):
This code causes the vscode server to hang for me:
#eval show IO Unit from do
let t ← IO.asTask (IO.println "hi")
_ ← IO.wait t
It works fine in the console.
Sebastian Ullrich (Apr 26 2021 at 10:35):
Thanks for the reminder, this is https://github.com/leanprover/lean4/issues/426
Last updated: May 02 2025 at 03:31 UTC