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.
2 parents 229d1ee + 20eaf21 commit 2a0927cCopy full SHA for 2a0927c
src/java_bytecode/java_string_library_preprocess.cpp
@@ -1580,7 +1580,8 @@ codet java_string_library_preprocesst::make_object_get_class_code(
1580
fun_call.lhs()=class1;
1581
fun_call.arguments().push_back(string1);
1582
code_typet fun_type;
1583
- fun_type.return_type()=string1.type();
+ fun_type.parameters().push_back(code_typet::parametert(string_ptr_type));
1584
+ fun_type.return_type()=class_type;
1585
fun_call.function().type()=fun_type;
1586
code.add(fun_call, loc);
1587
0 commit comments