#from example code https://pkg.odin-lang.org/core/encoding/csv/

1 messages · Page 1 of 1 (latest)

upbeat patrol
#

In procedure "iterate_csv_from_stream "
csv.reader_init(&r, handle.stream)
Error: Cannot assign value 'file.stream' of type 'File_Stream' to 'Stream' in a procedure argument

I'm trying to work around it in my own code, it appeared when adapting to the changes in dev-2026-04

fading shell
#

Try os.to_stream(handle) instead of handle.stream