mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03: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…
Reference in New Issue
Block a user