From f6d64c74c21fb461033b9d739fa32e780993811d Mon Sep 17 00:00:00 2001 From: yuyi Date: Wed, 30 Dec 2020 03:02:28 +0800 Subject: [PATCH] cgen: fix minor typos in map_fn_ptrs (#7679) --- vlib/v/gen/cgen.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index e5e5d17f67..ffa5fd1768 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -2305,9 +2305,9 @@ fn (mut g Gen) map_fn_ptrs(key_typ table.TypeSymbol) (string, string, string, st mut free_fn := '&map_free_nop' match key_typ.kind { .byte, .bool, .i8, .char { - hash_fn = '&map_hash_int_2' - key_eq_fn = '&map_eq_int_2' - clone_fn = '&map_clone_int_2' + hash_fn = '&map_hash_int_1' + key_eq_fn = '&map_eq_int_1' + clone_fn = '&map_clone_int_1' } .i16, .u16 { hash_fn = '&map_hash_int_2'