Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into set-deepcopy
  • Loading branch information
advikkabra authored Jun 26, 2024
commit 315fca8b423eaaf7045294e05efefff21271cee9
6 changes: 3 additions & 3 deletions src/libasr/codegen/llvm_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1950,9 +1950,9 @@ namespace LCompilers {
set_api->set_deepcopy(src, dest, set_type, module, name2memidx);
break;
}
case ASR::ttypeType::Struct: {
ASR::Struct_t* struct_t = ASR::down_cast<ASR::Struct_t>(asr_type);
ASR::StructType_t* struct_type_t = ASR::down_cast<ASR::StructType_t>(
case ASR::ttypeType::StructType: {
ASR::StructType_t* struct_t = ASR::down_cast<ASR::StructType_t>(asr_type);
ASR::Struct_t* struct_type_t = ASR::down_cast<ASR::Struct_t>(
ASRUtils::symbol_get_past_external(struct_t->m_derived_type));
std::string der_type_name = std::string(struct_type_t->m_name);
while( struct_type_t != nullptr ) {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.