We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cdd94b9 + 4b669e4 commit 44867d5Copy full SHA for 44867d5
jbmc/src/java_bytecode/java_types.cpp
@@ -939,6 +939,8 @@ optionalt<size_t> java_generic_symbol_typet::generic_type_index(
939
940
std::string pretty_java_type(const typet &type)
941
{
942
+ if(type == java_void_type())
943
+ return "void";
944
if(type == java_int_type())
945
return "int";
946
else if(type == java_long_type())
jbmc/src/java_bytecode/java_types.h
@@ -306,6 +306,7 @@ typet java_char_type();
306
typet java_float_type();
307
typet java_double_type();
308
typet java_boolean_type();
309
+typet java_void_type();
310
reference_typet java_reference_type(const typet &subtype);
311
reference_typet java_lang_object_type();
312
symbol_typet java_classname(const std::string &);
0 commit comments