roc/test/fx/platform/Stderr.roc
Richard Feldman 1ba947a0b9
Simplify platform hosted functions to annotation-only
Removed implementations from Stdout and Stderr, making them annotation-only
like the int/str platforms. Still investigating TypeMismatch - appears to be
a fundamental issue with how the platform accesses required app functions or
how the interpreter evaluates effectful entry points.

Findings:
- int/str platforms work fine with interpreter
- fx platform fails even with simplest app that just returns {}
- Issue occurs before any hosted function calls
- May be related to platform's main_for_host! accessing app's main! through requires clause
- Type Module transformation may not be the root cause
2025-11-07 10:07:59 -05:00

3 lines
39 B
Text

Stderr := [].{
line! : Str => {}
}