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
Currently when defining language there is no way to override how float/string/bool are handled and to override behavior for example to be more strict for operations not to allow autocasting for example false || 1 will result in 1 being treated as boolean true or 1+'1' resulting into 2
The text was updated successfully, but these errors were encountered:
When Go 1.18 is released I will do some experiments with generics that could lead to have a feature like this directly integrated into the language but I can't make any promises on this front.
Currently when defining language there is no way to override how float/string/bool are handled and to override behavior for example to be more strict for operations not to allow autocasting for example
false || 1
will result in 1 being treated as boolean true or1+'1'
resulting into2
The text was updated successfully, but these errors were encountered: