mirror of
https://github.com/golang/go
synced 2024-11-05 18:36:08 +00: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
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue