Skip to content

vera run /dev/stdin fails — stdin consumed before main compilation #335

@aallan

Description

@aallan

When piping to vera run /dev/stdin, the program fails with 'No exported functions to call' even for trivial programs like { 42 }. The same program works from a file. Likely the prelude injection or codegen re-reads the file path, and /dev/stdin is not seekable so the second read gets empty content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions