Open eseidel opened 7 months ago
I suspect the real bug is just that the .dill frontend doesn't error out fast enough. When stuff goes off the rails, it would be OK for it to error sooner. 🤷
In any case, there is obvious user/developer error here and it's fine if this just gets closed.
Since an input file and its compiled output can easily end up in the same directory (with similar names) and be supplied to the dart
command accidentally, I think a better (and earlier) error message here would be quite useful. Thanks for raising this :)
I'm going to tentatively label this area-vm
as I'm not sure if that handling should be in the VM or the frontend. Please retriage if necessary, thanks!
It will eventually crash as:
(This crash isn't exactly from the command above, but rather copied from a report we got with a different executable, but I believe it will fail this way. I just didn't wait the many minutes to let it crash on my machine.)