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