mirror of
https://github.com/golang/go
synced 2024-11-13 17:20:22 -07:00
iscomposite test in OCONV is unnecessary
now that OCOMP exists R=ken OCL=22216 CL=22216
This commit is contained in:
parent
179af0bb19
commit
855495eab6
@ -878,8 +878,6 @@ pexpr:
|
||||
{
|
||||
$$ = nod(OCONV, $3, N);
|
||||
$$->type = oldtype($1);
|
||||
if(iscomposite($$->type))
|
||||
yyerror("illegal conversion type %T", $$->type);
|
||||
}
|
||||
| convtype '{' braced_keyexpr_list '}'
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user