You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V support simple operator overloading like +/-/*/\ ,but no index operator overloading [] which is quite useful and much convenient when a UDT type has elements.
Would this feature be considered to add in the language?
Use Case
It is preferrable to write iList[2]:=33 other than iList.at(2)=33
Proposed Solution
No response
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
Version used
0.4.8
Environment details (OS name and version, etc.)
Win 10,64bit
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
I didn't know operator overloading permit the result to be of different type of the arguments. Is a bug or with something in mind? Next code is valid... Guess what the programmer wanted to do:
Describe the feature
V support simple operator overloading like +/-/*/\ ,but no index operator overloading [] which is quite useful and much convenient when a UDT type has elements.
Would this feature be considered to add in the language?
Use Case
It is preferrable to write iList[2]:=33 other than iList.at(2)=33
Proposed Solution
No response
Other Information
No response
Acknowledgements
Version used
0.4.8
Environment details (OS name and version, etc.)
Win 10,64bit
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
Huly®: V_0.6-21614
The text was updated successfully, but these errors were encountered: