Skip to content

Commit fc58bad

Browse files
author
Daniel Kroening
committed
C++: introduce template_parameter_symbol_type
1 parent 9071f3b commit fc58bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpp/cpp_typecheck_template.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ cpp_scopet &cpp_typecheckt::typecheck_template_parameters(
774774
// is it a type or not?
775775
if(declaration.get_bool(ID_is_type))
776776
{
777-
parameter = exprt(ID_type, symbol_typet(identifier));
777+
parameter = type_exprt(template_parameter_symbol_typet(identifier));
778778
parameter.type().add_source_location()=declaration.find_source_location();
779779
}
780780
else

0 commit comments

Comments
 (0)