mirror of
https://github.com/golang/go
synced 2024-11-23 04:20:03 -07:00
fix handling of *f() = 1
R=ken OCL=17625 CL=17641
This commit is contained in:
parent
0061e56196
commit
40fa690d75
@ -937,6 +937,8 @@ loop:
|
||||
case OIND:
|
||||
if(top == Etop)
|
||||
goto nottop;
|
||||
if(top == Elv) // even if n is lvalue, n->left is rvalue
|
||||
top = Erv;
|
||||
walktype(n->left, top);
|
||||
if(n->left == N)
|
||||
goto ret;
|
||||
|
Loading…
Reference in New Issue
Block a user