@@ -1307,7 +1307,7 @@ class CommonVisitor : public AST::BaseVisitor<Derived> {
13071307 al, left->base .loc , left, ASR::cast_kindType::IntegerToReal, dest_type));
13081308 } else if (ASR::is_a<ASR::TypeParameter_t>(*left_type)) {
13091309 left = ASR::down_cast<ASR::expr_t >(ASRUtils::make_Cast_t_value (
1310- al, left->base .loc , left, ASR::cast_kindType::TemplateToReal, dest_type));
1310+ al, left->base .loc , left, ASR::cast_kindType::TemplateToReal, dest_type));
13111311 }
13121312 if (ASRUtils::is_integer (*right_type)) {
13131313 if (ASRUtils::expr_value (right) != nullptr ) {
@@ -1428,7 +1428,7 @@ class CommonVisitor : public AST::BaseVisitor<Derived> {
14281428 } else {
14291429 throw SemanticError (" Both type variables must support addition operation" , loc);
14301430 }
1431- }
1431+ }
14321432 if (op == ASR::binopType::Div) {
14331433 if (ASRUtils::has_trait (left_param, ASR::traitType::Divisible)) {
14341434 dest_type = ASRUtils::TYPE (ASR::make_Real_t (al, loc, 8 , nullptr , 0 ));
@@ -2673,7 +2673,7 @@ class SymbolTableVisitor : public CommonVisitor<SymbolTableVisitor> {
26732673 std::string tvar_name = AST::down_cast<AST::Name_t>(x.m_targets [0 ])->m_id ;
26742674 // Check if the type variable name is a reserved type keyword
26752675 const char * type_list[14 ]
2676- = { " list" , " set" , " dict" , " tuple" ,
2676+ = { " list" , " set" , " dict" , " tuple" ,
26772677 " i8" , " i16" , " i32" , " i64" , " f32" ,
26782678 " f64" , " c32" , " c64" , " str" , " bool" };
26792679 for (int i = 0 ; i < 14 ; i++) {
@@ -3064,7 +3064,7 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
30643064 target_type->base .loc );
30653065 }
30663066 tmp = ASR::make_Assignment_t (al, x.base .base .loc , target, assign_value, nullptr );
3067- return ;
3067+ return ;
30683068 }
30693069 }
30703070 if ( ASR::is_a<ASR::Pointer_t>(*target_type) &&
0 commit comments