Skip to content

Commit 8b4920e

Browse files
author
Matthias Güdemann
committed
Return input pointer_type in case of no instantiation
1 parent 05ff12d commit 8b4920e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbmc/src/java_bytecode/select_pointer_type.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pointer_typet select_pointer_typet::specialize_generics(
9696
else
9797
{
9898
// return pointer type of generic parameter bound
99-
return java_reference_type(parameter.subtype());
99+
return pointer_type;
100100
}
101101
}
102102

0 commit comments

Comments
 (0)