Roc compiler version debug-6fabcdeb
Here is the example crashing when using static dispatch for Try.ok_or
app [main!] { pf: platform "./platform/main.roc" }
main! = || {
list = [""]
_str1 = Try.ok_or(List.get(list, 0), "") # <- This line works
_str2 = List.get(list, 0).ok_or("") # <- This line with static dispatch crashes
}
Issue opened here: https://github.com/roc-lang/roc/issues/8665
Last updated: Dec 21 2025 at 12:15 UTC