forked from extern/nushell
Make the default int an i64 (#3428)
* Make the default int an i64 * fmt * Fix random integer * Treat pids as i64 for now
This commit is contained in:
@ -273,6 +273,7 @@ fn get_shape_of_expr(expr: &SpannedExpression) -> Option<SyntaxShape> {
|
||||
Expression::Literal(literal) => {
|
||||
match literal {
|
||||
nu_protocol::hir::Literal::Number(number) => match number {
|
||||
nu_protocol::hir::Number::BigInt(_) => Some(SyntaxShape::Int),
|
||||
nu_protocol::hir::Number::Int(_) => Some(SyntaxShape::Int),
|
||||
nu_protocol::hir::Number::Decimal(_) => Some(SyntaxShape::Number),
|
||||
},
|
||||
|
Reference in New Issue
Block a user