autocast Option type to real type inside if foo != none
scope
#18790
Labels
Feature Request
This issue is made to request a feature.
Option Type
Bugs/feature requests, that are related to `?Type`.
Describe the feature
Currently we have
Option should be autocasted from
?int
toint
inif app.selected_point_id != none
block, since this block will be executed only when Option != none.Use Case
This will reduce amount of strange code need to be written when working with Option types.
Proposed Solution
@fe
Other Information
No response
Acknowledgements
Version used
V 0.4
Environment details (OS name and version, etc.)
Not related
The text was updated successfully, but these errors were encountered: