Rellum Rellum

S0071: wrong effect argument type

Generated from rellum-diagnostics/src/db.rs.

Explanation

Each built-in effect has a concrete signature. The compiler checks argument types statically so runtime effects receive handles, paths, ports, and payloads in the representation they expect.

Common causes

Canonical fixes

Before:

read!("build/input.txt")

After:

file ~ request open!("build/input.txt")
    on ok(h) => h
    on err(_) => 0
    initial => 0
main! = read!(file)

Code example

read!("build/input.txt")