Stream: contributing

Topic: Alias Str.Utf8ByteProblem not registered #5514


view this post on Zulip Maxim Ritter von Onciul (Jul 21 2023 at 13:43):

I would like to contribute. This issue seems like there hasn't been any progress so far - does any responsible person have a reason for or against me giving this a try?
I have no experience in compilers, some experience in both rust and functional programming and this would be my very first contribution to roc :)

view this post on Zulip Folkert de Vries (Jul 21 2023 at 13:46):

go for it!

view this post on Zulip Maxim Ritter von Onciul (Jul 21 2023 at 14:16):

Cool, thanks! Where do I find docs/code regarding delayed aliases?

view this post on Zulip Folkert de Vries (Jul 21 2023 at 14:26):

just grepping/fuzzy searching is usually the fastest

view this post on Zulip Folkert de Vries (Jul 21 2023 at 14:27):

the idea of a delayed alias is that we only carry around the name, and store the actual "value" (the righ-hand side of the alias) off to the side somewhere

view this post on Zulip Folkert de Vries (Jul 21 2023 at 14:27):

then solving needs to actually know what the alias name is an alias for, but somehow the alias in question was not stored

view this post on Zulip Anton (Jul 22 2023 at 09:14):

The cursor.so editor can also be very useful, you can ask it in plain english to explain code or where you can find certain vaguely described things.

view this post on Zulip Maxim Ritter von Onciul (Jul 28 2023 at 08:15):

I am stuck, I currently tried to find how and where other delayed aliases are being created and where they are stored. For this I hooked into the crate compiler/solve file to_var.rs and want to log each call to env.rs's register_with_known_var. But apparently, I can't trigger any call to that function. I commented out the alias in question and tried different ones. But that also didn't lead to any log messages.

view this post on Zulip Maxim Ritter von Onciul (Aug 09 2023 at 09:03):

up


Last updated: Dec 21 2025 at 12:15 UTC