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
This is actually quite strange. I suppose that in the first case the compiler is able to infer the type based on the previous number, probably this is some kind of compiler optimization where at the end only 15ul is generated.
What is your use case? Why you need to work with ul numbers? Just to understand if there can be alternatives ...
Hello,
When I execute following expression, I have exception with message: "Invalid Operation".
"10ul + 20"
(default numeric type is int32)
Normally, uint64 and int32 types should work together. The result should be 30ul in normal conditions.
The text was updated successfully, but these errors were encountered: