examples icon indicating copy to clipboard operation
examples copied to clipboard

No roc check error when trying to access non-existent record field

Open Anton-4 opened this issue 1 month ago • 0 comments

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

Anton-4 avatar Nov 25 '25 15:11 Anton-4