mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
feat: add the rest of the num types for Str conversion
This commit is contained in:
parent
e587e20de2
commit
b7d48b2fe1
7 changed files with 395 additions and 45 deletions
|
@ -5281,7 +5281,7 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
Layout::Builtin(Builtin::Float(float_width)) => {
|
||||
&bitcode::STR_TO_FLOAT[float_width]
|
||||
}
|
||||
Layout::Builtin(Builtin::Decimal) => bitcode::DEC_FROM_STR,
|
||||
Layout::Builtin(Builtin::Decimal) => &bitcode::DEC_FROM_STR,
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue