mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix minor typos in map_fn_ptrs (#7679)
This commit is contained in:
parent
114df3ce7c
commit
f6d64c74c2
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user