mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
table: improve check_types()
This commit is contained in:
parent
2f5de11c22
commit
f579376638
@ -576,6 +576,9 @@ fn (p mut Parser) check_types2(got_, expected_ string, throw bool) bool {
|
||||
if p.pref.translated {
|
||||
return true
|
||||
}
|
||||
if got == expected {
|
||||
return true
|
||||
}
|
||||
|
||||
// generic return type
|
||||
if expected == '_ANYTYPE_' {
|
||||
|
Loading…
x
Reference in New Issue
Block a user