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 fbbf9d5 commit 238d7b8Copy full SHA for 238d7b8
jbmc/src/java_bytecode/expr2java.cpp
@@ -361,7 +361,9 @@ std::string expr2javat::convert_java_instanceof(const exprt &src)
361
return convert_norep(src, precedence);
362
}
363
364
- return convert(src.op0())+" instanceof "+convert(src.op1().type());
+ const auto type = java_reference_type(to_struct_tag_type(src.op1().type()));
365
+
366
+ return convert(src.op0()) + " instanceof " + convert(type);
367
368
369
std::string expr2javat::convert_code_java_new(const exprt &src, unsigned indent)
0 commit comments