Hey folks,
I've created https://github.com/roc-lang/roc/issues/9075.
I hope it was correct to do that and report it here. I wanted to avoid the noise to write in Zulip and get referred to github, but I saw people post links to GH issues here.
Cheers! :)
I'm having a look at this one (or asking claude to have a look at this one)
Is the expected behavior here a type error? Like, should we have to call 5.to_str() or something similar at some point?
I think it makes sense for direct or arrow calls on literals to be an error. But I really am not sure.
There's a simple change that makes the 5-> bit work, but it's still a type error afterwards. I think that's right, but I don't really know how string interpolation is intended to work.
Might be something we need @Jared Ramirez to help with
This is claude's fix:
https://github.com/roc-lang/roc/pull/9077
Last updated: Feb 20 2026 at 12:27 UTC