mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
cleanup
This commit is contained in:
parent
96498d667e
commit
dc44eaac97
10 changed files with 57 additions and 111 deletions
|
@ -7977,9 +7977,7 @@ pub fn num_argument_to_int_or_float(
|
|||
num_argument_to_int_or_float(subs, ptr_bytes, var, true)
|
||||
}
|
||||
|
||||
Symbol::NUM_DECIMAL | Symbol::NUM_AT_DECIMAL => {
|
||||
return IntOrFloat::DecimalFloatType;
|
||||
}
|
||||
Symbol::NUM_DECIMAL | Symbol::NUM_AT_DECIMAL => IntOrFloat::DecimalFloatType,
|
||||
|
||||
Symbol::NUM_NAT | Symbol::NUM_NATURAL | Symbol::NUM_AT_NATURAL => {
|
||||
let int_width = match ptr_bytes {
|
||||
|
@ -7988,7 +7986,7 @@ pub fn num_argument_to_int_or_float(
|
|||
_ => panic!("unsupported word size"),
|
||||
};
|
||||
|
||||
return IntOrFloat::Int(int_width);
|
||||
IntOrFloat::Int(int_width)
|
||||
}
|
||||
|
||||
_ => panic!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue