Skip to content

Commit

Permalink
Return input pointer_type in case of no instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Güdemann committed Jun 6, 2018
1 parent 05ff12d commit 8b4920e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jbmc/src/java_bytecode/select_pointer_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pointer_typet select_pointer_typet::specialize_generics(
else
{
// return pointer type of generic parameter bound
return java_reference_type(parameter.subtype());
return pointer_type;
}
}

Expand Down

0 comments on commit 8b4920e

Please sign in to comment.