@@ -1307,7 +1307,7 @@ class CommonVisitor : public AST::BaseVisitor<Derived> {
1307
1307
al, left->base .loc , left, ASR::cast_kindType::IntegerToReal, dest_type));
1308
1308
} else if (ASR::is_a<ASR::TypeParameter_t>(*left_type)) {
1309
1309
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));
1311
1311
}
1312
1312
if (ASRUtils::is_integer (*right_type)) {
1313
1313
if (ASRUtils::expr_value (right) != nullptr ) {
@@ -1428,7 +1428,7 @@ class CommonVisitor : public AST::BaseVisitor<Derived> {
1428
1428
} else {
1429
1429
throw SemanticError (" Both type variables must support addition operation" , loc);
1430
1430
}
1431
- }
1431
+ }
1432
1432
if (op == ASR::binopType::Div) {
1433
1433
if (ASRUtils::has_trait (left_param, ASR::traitType::Divisible)) {
1434
1434
dest_type = ASRUtils::TYPE (ASR::make_Real_t (al, loc, 8 , nullptr , 0 ));
@@ -2673,7 +2673,7 @@ class SymbolTableVisitor : public CommonVisitor<SymbolTableVisitor> {
2673
2673
std::string tvar_name = AST::down_cast<AST::Name_t>(x.m_targets [0 ])->m_id ;
2674
2674
// Check if the type variable name is a reserved type keyword
2675
2675
const char * type_list[14 ]
2676
- = { " list" , " set" , " dict" , " tuple" ,
2676
+ = { " list" , " set" , " dict" , " tuple" ,
2677
2677
" i8" , " i16" , " i32" , " i64" , " f32" ,
2678
2678
" f64" , " c32" , " c64" , " str" , " bool" };
2679
2679
for (int i = 0 ; i < 14 ; i++) {
@@ -3064,7 +3064,7 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
3064
3064
target_type->base .loc );
3065
3065
}
3066
3066
tmp = ASR::make_Assignment_t (al, x.base .base .loc , target, assign_value, nullptr );
3067
- return ;
3067
+ return ;
3068
3068
}
3069
3069
}
3070
3070
if ( ASR::is_a<ASR::Pointer_t>(*target_type) &&
0 commit comments