Skip to content
Snippets Groups Projects
Commit 094a9d52 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Slightly clean-up some code

Should improve readability somehow, and led to better error messages.
parent 9ad25135
No related branches found
No related tags found
1 merge request!37Feature/language
......@@ -239,7 +239,12 @@ ASTNodeAffectationExpressionBuilder::ASTNodeAffectationExpressionBuilder(ASTNode
}
break;
}
case ASTNodeDataType::int_t: {
// Nothing to check by now since the special value 0 is allowed
break;
}
default: {
ASTNodeNaturalConversionChecker{n, data_node.m_data_type, n.m_data_type};
}
}
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment