Skip to content

Commit

Permalink
Merge pull request lcompilers#2407 from pnc009/fix/error-message
Browse files Browse the repository at this point in the history
Fix: Punctuation mistake in error message
  • Loading branch information
certik authored Nov 2, 2023
2 parents da8d25b + bcb49ca commit c21c0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lpython/semantics/python_ast_to_asr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3076,7 +3076,7 @@ class CommonVisitor : public AST::BaseVisitor<Struct> {
bool is_packed = false;
if( !is_dataclass(x.m_decorator_list, x.n_decorator_list,
algined_expr, is_packed) ) {
throw SemanticError("Only dataclass decorated classes and Enum subclasses are supported.",
throw SemanticError("Only dataclass-decorated classes and Enum subclasses are supported.",
x.base.base.loc);
}

Expand Down

0 comments on commit c21c0e3

Please sign in to comment.