We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39c0e90 commit b3127c8Copy full SHA for b3127c8
1 file changed
src/libasr/codegen/llvm_utils.cpp
@@ -1142,6 +1142,7 @@ namespace LCompilers {
1142
break;
1143
}
1144
case ASR::array_physical_typeType::FixedSizeArray: {
1145
+ LCOMPILERS_ASSERT(ASRUtils::is_fixed_size_array(v_type->m_dims, v_type->n_dims));
1146
llvm_type = llvm::ArrayType::get(get_el_type(v_type->m_type, module),
1147
ASRUtils::get_fixed_size_of_array(
1148
v_type->m_dims, v_type->n_dims));
0 commit comments