mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-28 03:49:40 +00:00
with_ascii_lowercased zig builtin
This commit is contained in:
parent
809fe23afd
commit
8403f1ea19
36 changed files with 303 additions and 163 deletions
|
|
@ -1712,6 +1712,13 @@ trait Backend<'a> {
|
|||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::StrWithAsciiLowercased => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::STR_WITH_ASCII_LOWERCASED.to_string(),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::StrToNum => {
|
||||
let number_layout = match self.interner().get_repr(*ret_layout) {
|
||||
LayoutRepr::Struct(field_layouts) => field_layouts[0], // TODO: why is it sometimes a struct?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue