Skip to content

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

@Anton-4

Description

@Anton-4
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions