File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -1477,17 +1477,7 @@ package body Tree_Walk is
1477
1477
when N_Explicit_Dereference => return Do_Dereference (N);
1478
1478
when N_Case_Expression => return Do_Case_Expression (N);
1479
1479
when N_Aggregate => return Do_Aggregate_Literal (N);
1480
- when N_Indexed_Component =>
1481
- if Nkind (Etype (Prefix (N))) = N_Defining_Identifier
1482
- and then
1483
- Get_Name_String (Chars (Etype (Etype (Prefix (N)))))
1484
- = " string"
1485
- then
1486
- return Report_Unhandled_Node_Irep (N, " Do_Expression" ,
1487
- " Index of string unsupported" );
1488
- else
1489
- return Do_Indexed_Component (N);
1490
- end if ;
1480
+ when N_Indexed_Component => return Do_Indexed_Component (N);
1491
1481
when N_Slice => return Do_Slice (N);
1492
1482
when N_In => return Do_In (N);
1493
1483
when N_Real_Literal => return Do_Real_Constant (N);
You can’t perform that action at this time.
0 commit comments