mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
f32/f64toParts in repl only
This commit is contained in:
parent
64e9899cad
commit
473b8ef2d3
12 changed files with 72 additions and 6 deletions
|
@ -1592,7 +1592,9 @@ fn low_level_no_rc(lowlevel: &LowLevel) -> RC {
|
|||
| NumToFloatChecked
|
||||
| NumCountLeadingZeroBits
|
||||
| NumCountTrailingZeroBits
|
||||
| NumCountOneBits => RC::NoRc,
|
||||
| NumCountOneBits
|
||||
| NumF32ToParts
|
||||
| NumF64ToParts => RC::NoRc,
|
||||
I128OfDec | NumWithoutDecimalPoint | NumWithDecimalPoint => RC::NoRc,
|
||||
DictPseudoSeed => RC::NoRc,
|
||||
StrStartsWith | StrEndsWith => RC::NoRc,
|
||||
|
|
|
@ -1347,7 +1347,9 @@ pub(crate) fn lowlevel_borrow_signature(op: LowLevel) -> &'static [Ownership] {
|
|||
| NumCountOneBits
|
||||
| I128OfDec
|
||||
| NumWithoutDecimalPoint
|
||||
| NumWithDecimalPoint => &[IRRELEVANT],
|
||||
| NumWithDecimalPoint
|
||||
| NumF32ToParts
|
||||
| NumF64ToParts => &[IRRELEVANT],
|
||||
StrStartsWith | StrEndsWith => &[BORROWED, BORROWED],
|
||||
StrFromUtf8 => &[OWNED],
|
||||
StrToUtf8 => &[OWNED],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue