Skip to content

Commit 5b3cd06

Browse files
author
owen-jones-diffblue
authored
Merge pull request diffblue#475 from diffblue/fix-methods-to-ignore
Call assign_parameters on ignored methods
2 parents 66930d3 + e52c971 commit 5b3cd06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cbmc/jbmc/src/java_bytecode/java_bytecode_convert_method.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,12 @@ void java_bytecode_convert_method_lazy(
421421
method_symbol.type.set(ID_C_must_not_throw, true);
422422
}
423423

424+
if(cprover_methods_to_ignore.count(id2string(method_symbol.base_name)))
425+
{
426+
assign_parameter_names(
427+
to_code_type(method_symbol.type), method_symbol.name, symbol_table);
428+
}
429+
424430
symbol_table.add(method_symbol);
425431
}
426432

0 commit comments

Comments
 (0)