Currently, the immediate value constructor of class Expr
and Integer
accept only int32
argument. This is error-prone because C++ will automatically downcast to int32
if you pass in an int64
. Simply add an int64
constructor will solve this problem.
If someone think it necessary, I can make a Pull Request.