Morpho-lang / morpho

The Morpho language 🦋. Morpho is a small embeddable language for scientific computing applications.
MIT License
30 stars 10 forks source link

Bug when putting in an empty index #237

Closed Craftyleosteel closed 5 months ago

Craftyleosteel commented 1 year ago

Morpho reports a development error when you don't index by anything. We should probably have an error for this something like:

Err: Empty Index

softmattertheory commented 7 months ago

Thanks so much for reporting this @Craftyleosteel, and apologies for the delay! I note that this is quite serious since it generates the error "Internal consistency error: Please contact developer. [Explanation: compiling an unexpectedly blank node [run with debugger]]." We should replace this with a user-friendly message.

softmattertheory commented 5 months ago

We're happy to note this has been fixed in the imminent v0.6.0 release, thanks for raising this issue @Craftyleosteel!