Closed rtfeldman closed 2 years ago
It's possible that https://github.com/rtfeldman/roc/issues/2846 and https://github.com/rtfeldman/roc/issues/2844 may be related to this.
This is also a good first issue. The problem lies here:
https://github.com/rtfeldman/roc/pull/2800/files fixed a similar bug (but didn't go far enough :) ), so that may be helpful.
This is a nice issue in that it will expose you to a few different pipelines of the compiler
Can I take this one?
Absolutely! Feel free to ask on Zulip if you have any questions or get stuck on anything! 😃
These both work as expected:
However, this crashes the compiler:
The panic is in monomorphization, but the problem is most likely earlier than that.