Returning a value that can be cast will apply the cast. Otherwise, implicit casts are not done. Fix or document this inconsistency. Side note: inconsistently with the java language, a long can be implicitly cast to an int.
Returning a value that can be cast will apply the cast. Otherwise, implicit casts are not done.
Fix or document this inconsistency.
Side note: inconsistently with the java language, a long can be implicitly cast to an int.