examples
examples copied to clipboard
No roc check error when trying to access non-existent record field
app [main!] { pf: platform "./platform/main.roc" }
import pf.Stdout
main! = || {
record = { first: "Hello" }
Stdout.line!(record.blabla)
}
❯ ./zig-out/bin/roc check ./test/fx/temp.roc
No errors found in 4.7 ms for ./test/fx/temp.roc
roc on main [?] is 📦 v0.0.1 via 🦀 via ↯ v0.15.2
❯ ./zig-out/bin/roc ./test/fx/temp.roc
Roc crashed: Error evaluating from shared memory: TypeMismatch
error: Failed to run with POSIX fd inheritance: error.ProcessExitedWithError