Stream: ideas

Topic: relative paths in error messages


view this post on Zulip Anton (Sep 02 2026 at 17:29):

We currently show the full path of the file in error messages:

── ✗ unexpected statement ─────────/Users/workmac/gitrepos/allroc/roc2/roc/main.roc:1:81

Zig and Rust don't do this and people would like shorter error messages in Roc, so is there a reason why we can't or shouldn't go with relative paths?

view this post on Zulip Richard Feldman (Sep 02 2026 at 17:31):

sounds good to me! :thumbs_up:

view this post on Zulip Anton (Sep 02 2026 at 17:45):

#11071


Last updated: Sep 03 2026 at 15:16 UTC