New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introducing generic Any.to type conversion method #7704
Conversation
|
||
Complex.Value 3 4 . to Number | ||
|
||
to : Any -> Any ! No_Such_Conversion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently we get a PanicException
with No_Such_Conversion
atom as a payload when conversion isn't available. OK? Or do we prefer data flow error?
engine/runtime/src/main/java/org/enso/interpreter/node/callable/InvokeConversionNode.java
Show resolved
Hide resolved
Jaroslav Tulach reports a new STANDUP for yesterday (2023-08-31): Progress: -
Next Day: Integrate
|
Jaroslav Tulach reports a new STANDUP for yesterday (2023-09-01): Progress: -
Next Day: suggestion.db investigation
|
Pull Request Description
Provides
Any.to
conversion method. Such a method allows us finish #4821 - e.g. useText.from
instead ofText.to_text
where possible. This method is a per-requisite of further work onChecklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Java,