mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
get_type.v
This commit is contained in:
parent
0a38b307cd
commit
cb46bf314e
4 changed files with 80 additions and 34 deletions
|
@ -715,7 +715,7 @@ fn (p mut Parser) check_types2(got_, expected_ string, throw bool) bool {
|
|||
return false
|
||||
}
|
||||
else {
|
||||
p.error('expected type `$expected`, but got `$got`')
|
||||
p.error('cannot convert `$got` to `$expected`')
|
||||
}
|
||||
}
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue