mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Fix fmt.
This commit is contained in:
parent
ba6b225761
commit
78cf0b8d2e
1 changed files with 4 additions and 5 deletions
|
@ -796,11 +796,10 @@ pub fn build_exp_literal<'a, 'ctx, 'env>(
|
|||
|
||||
Decimal(int) => {
|
||||
let (upper_bits, lower_bits) = int.as_bits();
|
||||
env
|
||||
.context
|
||||
.i128_type()
|
||||
.const_int_arbitrary_precision(&[lower_bits, upper_bits as u64])
|
||||
.into()
|
||||
env.context
|
||||
.i128_type()
|
||||
.const_int_arbitrary_precision(&[lower_bits, upper_bits as u64])
|
||||
.into()
|
||||
}
|
||||
Bool(b) => env.context.bool_type().const_int(*b as u64, false).into(),
|
||||
Byte(b) => env.context.i8_type().const_int(*b as u64, false).into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue