mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
trying to make Str.toNum work for Ints
This commit is contained in:
parent
2e21fd0cb9
commit
e63701c5d1
6 changed files with 6 additions and 15 deletions
|
@ -5269,6 +5269,7 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
str_ends_with(env, scope, args[0], args[1])
|
||||
}
|
||||
StrToNum => {
|
||||
// Str.toNum : Str -> Result (Num *) {}
|
||||
debug_assert_eq!(args.len(), 1);
|
||||
|
||||
let (string, _string_layout) = load_symbol_and_layout(scope, &args[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue