We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f3ba30 commit 20eaf21Copy full SHA for 20eaf21
src/java_bytecode/java_string_library_preprocess.cpp
@@ -1577,7 +1577,8 @@ codet java_string_library_preprocesst::make_object_get_class_code(
1577
fun_call.lhs()=class1;
1578
fun_call.arguments().push_back(string1);
1579
code_typet fun_type;
1580
- fun_type.return_type()=string1.type();
+ fun_type.parameters().push_back(code_typet::parametert(string_ptr_type));
1581
+ fun_type.return_type()=class_type;
1582
fun_call.function().type()=fun_type;
1583
code.add(fun_call, loc);
1584
0 commit comments