fix naming

This commit is contained in:
Folkert 2021-04-03 21:23:40 +02:00
parent 220c8b1a73
commit f73be5d4a0
2 changed files with 3 additions and 2 deletions

View file

@ -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 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
.get(symbol, &layout)
.to_symbol_string(symbol, &env.interns);

View file

@ -757,7 +757,8 @@ define_builtins! {
// A caller (wrapper) that we pass to zig for it to be able to call Roc functions
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" => {
0 NUM_NUM: "Num" imported // the Num.Num type alias