diff --git a/cql3/functions/abstract_function.hh b/cql3/functions/abstract_function.hh index b29e76644f..863230b16e 100644 --- a/cql3/functions/abstract_function.hh +++ b/cql3/functions/abstract_function.hh @@ -42,6 +42,7 @@ #pragma once #include "types.hh" +#include "cql3/cql3_type.hh" #include #include #include @@ -105,9 +106,9 @@ abstract_function::print(std::ostream& os) const { if (i > 0) { os << ", "; } - os << _arg_types[i]->name(); // FIXME: asCQL3Type() + os << _arg_types[i]->as_cql3_type()->to_string(); } - os << ") -> " << _return_type->name(); // FIXME: asCQL3Type() + os << ") -> " << _return_type->as_cql3_type()->to_string(); } }