mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-14 01:34:35 +00:00
I tried to compile this example and received the following error:
```
Error: Cannot assign value 'os.stdin.stream' of type 'File_Stream' to 'Stream' in a structure literal
input = os.stdin.stream,
^~~~~~~~~~~~~~^
```
The example was fixed by passing the File_Stream to `os.to_stream`.
Signed-off-by: Robert Stefanic <rstefanic72@gmail.com>