mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: allow deref assign without parens pt2 update vlib
This commit is contained in:
@ -12,7 +12,7 @@ pub mut:
|
||||
unsafe {
|
||||
mut e := &int(0)
|
||||
e = a.data + y*a.maxx + x
|
||||
(*e) = newval
|
||||
*e = newval
|
||||
}
|
||||
}
|
||||
[inline] pub fn (a &A2D) get(x,y int) int {
|
||||
|
Reference in New Issue
Block a user