Closed olsaarik closed 9 months ago
Ha, welcome Olli :-) Apologies for the late reply but it's a busy week. The error you see is actually a limitation of the runtime system. At the moment, the sslice
slices contain references to the string but also a raw ssize_t
and cannot be mixed themselves in another datatype as values as that would make scanning reference fields more complex in the runtime.
I was actually aware of this and have a fix for it (by just making the ssize_t
an int
-- I'll try to push it out soon!
Thanks!
Cool! And this by the way wasn't blocking at all. I managed to reorganize my code a bit to avoid this.
This is fixed in the latest release, thanks for the feedback!
Hi! The following program produces an internal compiler error:
Here's what
koka
prints:I minimized the program as much as I easily could. Modifications that avoid the error include:
val s
instead ofvar s'
as the first argument tog
limit
parameter ing
a constants'.count
ors.count
from the second argument tog
The koka version is 2.4.0.