Skip to content

Commit 448f1ca

Browse files
authored
Merge pull request #1037 from owen-jones-diffblue/owen/errors-to-warnings
Change two errors to warnings
2 parents 2d97393 + 4701c0b commit 448f1ca

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/goto-programs/interpreter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,7 @@ typet interpretert::concretize_type(const typet &type)
894894
}
895895
else
896896
{
897-
error() << "Failed to concretize variable array"
898-
<< eom;
897+
warning() << "Failed to concretize variable array" << eom;
899898
}
900899
}
901900
return type;

src/goto-programs/interpreter_evaluate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ void interpretert::evaluate(
10541054
{
10551055
if(expr.type().id()==ID_signedbv)
10561056
{
1057-
error() << "Infinite size arrays not supported" << eom;
1057+
warning() << "Infinite size arrays not supported" << eom;
10581058
return;
10591059
}
10601060
}

0 commit comments

Comments
 (0)