Only warn if private predicates are used in specification

This commit is contained in:
Patrick Lühne 2020-05-19 12:18:11 +02:00
parent 4de4cc21da
commit 3bf981236a
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -47,11 +47,7 @@ where
match problem.check_that_only_input_and_output_predicates_are_used() match problem.check_that_only_input_and_output_predicates_are_used()
{ {
Ok(_) => (), Ok(_) => (),
Err(error) => Err(error) => log::warn!("{}", error),
{
log::error!("{}", error);
std::process::exit(1)
}
} }
match problem.restrict_to_output_predicates() match problem.restrict_to_output_predicates()