support longs in inference types