mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 06:13:26 +03:00
d60feaace0
This involves new primitives GCPtr and GCAnyPtr which are pointer types that have finalisers attached. The finalisers are run when the associated pointer goes out of scope. In the test, I am assuming that the GC will only be called once, right at the end. Otherwise, the output isn't guaranteed to be deterministic! Let's see how this assumption holds... This is currently Chez only. I think it'll be easy enough to add to the Racket and Gambit back ends too.
4 lines
139 B
Plaintext
4 lines
139 B
Plaintext
1/1: Building casetot (casetot.idr)
|
|
casetot.idr:12:1--13:1:main is not covering:
|
|
Calls non covering function Main.case block in 2087(287)
|