File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ package body Tree_Walk is
30
30
procedure Add_Entity_Substitution (E : Entity_Id; Subst : Irep);
31
31
32
32
procedure Append_Declare_And_Init
33
- (Symbol : Irep; Value : Irep; Block : Irep; Source_Loc : Source_Ptr);
33
+ (Symbol : Irep; Value : Irep; Block : Irep; Source_Loc : Source_Ptr)
34
+ with Pre => Kind (Value) in Class_Expr;
34
35
35
36
procedure Declare_Itype (Ty : Entity_Id);
36
37
@@ -61,7 +62,7 @@ package body Tree_Walk is
61
62
function Do_Assignment_Statement (N : Node_Id) return Irep
62
63
with Pre => Nkind (N) = N_Assignment_Statement,
63
64
Post => Kind (Do_Assignment_Statement'Result) in
64
- I_Code_Assign;
65
+ I_Code_Assign | I_Code_Block ;
65
66
66
67
function Do_Bare_Range_Constraint (Range_Expr : Node_Id; Underlying : Irep)
67
68
return Irep
You can’t perform that action at this time.
0 commit comments