Commit 855495ea authored by Russ Cox's avatar Russ Cox

iscomposite test in OCONV is unnecessary

now that OCOMP exists

R=ken
OCL=22216
CL=22216
parent 179af0bb
......@@ -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 '}'
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment