We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82f4780 commit 9f3c21eCopy full SHA for 9f3c21e
src/lpython/semantics/python_ast_to_asr.cpp
@@ -8800,7 +8800,7 @@ we will have to use something else.
8800
ASR::expr_t *arg = args[0].m_value;
8801
ASR::ttype_t *type = ASRUtils::expr_type(arg);
8802
if(!ASR::is_a<ASR::ListConstant_t>(*arg)) {
8803
- throw SemanticError("set accepts only list for now, got " +
+ throw SemanticError("set accepts only list constant for now, got " +
8804
ASRUtils::type_to_str(type) + " type.", x.base.base.loc);
8805
}
8806
ASR::ListConstant_t* list = ASR::down_cast<ASR::ListConstant_t>(arg);
0 commit comments