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