File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1192,15 +1192,15 @@ static inline std::string type_to_str_python(const ASR::ttype_t *t,
11921192 }
11931193 case ASR::ttypeType::Struct: {
11941194 ASR::Struct_t* d = ASR::down_cast<ASR::Struct_t>(t);
1195- return symbol_name (d->m_derived_type );
1195+ return " struct " + std::string ( symbol_name (d->m_derived_type ) );
11961196 }
11971197 case ASR::ttypeType::Enum: {
11981198 ASR::Enum_t* d = ASR::down_cast<ASR::Enum_t>(t);
1199- return symbol_name (d->m_enum_type );
1199+ return " enum " + std::string ( symbol_name (d->m_enum_type ) );
12001200 }
12011201 case ASR::ttypeType::Union: {
12021202 ASR::Union_t* d = ASR::down_cast<ASR::Union_t>(t);
1203- return symbol_name (d->m_union_type );
1203+ return " union " + std::string ( symbol_name (d->m_union_type ) );
12041204 }
12051205 case ASR::ttypeType::Pointer: {
12061206 ASR::Pointer_t* p = ASR::down_cast<ASR::Pointer_t>(t);
You can’t perform that action at this time.
0 commit comments