Stream: compiler development

Topic: defaulting to Dec


view this post on Zulip Richard Feldman (Sep 10 2023 at 19:11):

I made a PR to default to Dec over F64 for decimal literals, and I'm getting a strange mono error: https://github.com/roc-lang/roc/actions/runs/6138868544/job/16656171869?pr=5792#step:7:461

view this post on Zulip Richard Feldman (Sep 10 2023 at 19:11):

it's not a spurious test failure; I see the same thing in the repl (it switches the argument order in the tag)

view this post on Zulip Richard Feldman (Sep 10 2023 at 19:11):

anyone have any idea why that might be happening? It's a very minimal change in the PR!

view this post on Zulip Ayaz Hafiz (Sep 10 2023 at 22:11):

probably because Dec has a larger stack size than F64, so this is a bug we didn't previously observe

view this post on Zulip Richard Feldman (Sep 10 2023 at 22:44):

huh, interesting!


Last updated: Jul 06 2025 at 12:14 UTC