mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
map := { 'foo': 'bar' }
syntax
This commit is contained in:
parent
bfddb9a80f
commit
a5f5b52204
4 changed files with 71 additions and 2 deletions
|
@ -501,6 +501,9 @@ fn (p mut Parser) _check_types(got, expected string, throw bool) bool {
|
|||
if got=='int' && expected=='byte*' {
|
||||
return true
|
||||
}
|
||||
//if got=='int' && expected=='voidptr*' {
|
||||
//return true
|
||||
//}
|
||||
// byteptr += int
|
||||
if got=='int' && expected=='byteptr' {
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue