1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: fix the argument mismatch of fn call (#12479)

This commit is contained in:
yuyi
2021-11-16 23:19:02 +08:00
committed by GitHub
parent 3fab0a5d05
commit 2984751a57
5 changed files with 32 additions and 10 deletions

View File

@ -1161,7 +1161,7 @@ fn is_excluding_latin(table &RangeTable, r rune) bool {
}
r32 := &table.r32
if r32.len > 0 && r >= rune((*r32)[0].lo) {
return is_32(r32, u32(r))
return is_32(*r32, u32(r))
}
return false
}