Skip to content

Commit 9f3c21e

Browse files
swamishijuubaidsk
andauthored
Update src/lpython/semantics/python_ast_to_asr.cpp
Fixed error message Co-authored-by: Mohammed Ubaid Shaikh <shaikhubaid769@gmail.com>
1 parent 82f4780 commit 9f3c21e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lpython/semantics/python_ast_to_asr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8800,7 +8800,7 @@ we will have to use something else.
88008800
ASR::expr_t *arg = args[0].m_value;
88018801
ASR::ttype_t *type = ASRUtils::expr_type(arg);
88028802
if(!ASR::is_a<ASR::ListConstant_t>(*arg)) {
8803-
throw SemanticError("set accepts only list for now, got " +
8803+
throw SemanticError("set accepts only list constant for now, got " +
88048804
ASRUtils::type_to_str(type) + " type.", x.base.base.loc);
88058805
}
88068806
ASR::ListConstant_t* list = ASR::down_cast<ASR::ListConstant_t>(arg);

0 commit comments

Comments
 (0)