Open rgkirch opened 3 years ago
I know this is an example of bad and invalid code and I believe Carp is right to reject it. I think it's a bug that the error points me to Blitable.carp instead of saying something about how it's invalid to take a ref of a type. I think it's also an option to mark this issue as "won't fix" and follow the mantra "garbage in garbage out". What do you think? Is this bug report productive or does it add noise?
I think it's a reasonable issue :) Will be somewhat tricky to fix in an elegant way, but let's keep it open for now!
Running the original example gives me an unhelpful and misleading error message.
This is the same source code as https://github.com/carp-lang/Carp/issues/1325 but I didn't have the option to reopen the issue so I'm making a new one.
I'd expect the error message to point me in the right direction.
I'm on master branch commit 499a03e63edd1f370196f9ca43e55335d7e62c87.