table: improve check_types()
parent
2f5de11c22
commit
f579376638
|
@ -576,6 +576,9 @@ fn (p mut Parser) check_types2(got_, expected_ string, throw bool) bool {
|
||||||
if p.pref.translated {
|
if p.pref.translated {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if got == expected {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
// generic return type
|
// generic return type
|
||||||
if expected == '_ANYTYPE_' {
|
if expected == '_ANYTYPE_' {
|
||||||
|
|
Loading…
Reference in New Issue