Stream: beginners

Topic: Repl panic


view this post on Zulip Cobalt (May 10 2024 at 14:45):

Hey, I just came across the website and when testing a function in the REPL it appears throw a panic: F = \x -> x % 3. This appears to be due to hitting an unimplemented macro. It might be helpful to show a normal "Not implemented" error message instead of a panic with stacktrace.

view this post on Zulip Anton (May 10 2024 at 14:51):

Thanks for reporting this @Cobalt, that stack trace does not look pretty :p
This falls under #6722 so I've added these kind of panics as a good first step.

view this post on Zulip Brendan Hansknecht (May 10 2024 at 14:55):

Should print an error that variable names can't start with capital letters

view this post on Zulip Anton (May 10 2024 at 14:59):

Yeah, as quick fix we could still panic but with that better error message, I'll make an issue for that.

view this post on Zulip Anton (May 10 2024 at 15:22):

I made PR#6742 instead of an issue


Last updated: Jul 05 2025 at 12:14 UTC