mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
fix naming
This commit is contained in:
parent
220c8b1a73
commit
f73be5d4a0
2 changed files with 3 additions and 2 deletions
|
@ -396,7 +396,7 @@ pub fn build_compare_wrapper<'a, 'ctx, 'env>(
|
||||||
let block = env.builder.get_insert_block().expect("to be in a function");
|
let block = env.builder.get_insert_block().expect("to be in a function");
|
||||||
let di_location = env.builder.get_current_debug_location().unwrap();
|
let di_location = env.builder.get_current_debug_location().unwrap();
|
||||||
|
|
||||||
let symbol = Symbol::COMPARE_REF;
|
let symbol = Symbol::GENERIC_COMPARE_REF;
|
||||||
let fn_name = layout_ids
|
let fn_name = layout_ids
|
||||||
.get(symbol, &layout)
|
.get(symbol, &layout)
|
||||||
.to_symbol_string(symbol, &env.interns);
|
.to_symbol_string(symbol, &env.interns);
|
||||||
|
|
|
@ -757,7 +757,8 @@ define_builtins! {
|
||||||
// A caller (wrapper) that we pass to zig for it to be able to call Roc functions
|
// A caller (wrapper) that we pass to zig for it to be able to call Roc functions
|
||||||
20 ZIG_FUNCTION_CALLER: "#zig_function_caller"
|
20 ZIG_FUNCTION_CALLER: "#zig_function_caller"
|
||||||
|
|
||||||
21 COMPARE_REF: "#compare_ref" // TODO: <- a nice comment
|
// a caller (wrapper) for comparison
|
||||||
|
21 GENERIC_COMPARE_REF: "#generic_compare_ref"
|
||||||
}
|
}
|
||||||
1 NUM: "Num" => {
|
1 NUM: "Num" => {
|
||||||
0 NUM_NUM: "Num" imported // the Num.Num type alias
|
0 NUM_NUM: "Num" imported // the Num.Num type alias
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue