We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da8d25b + bcb49ca commit c21c0e3Copy full SHA for c21c0e3
src/lpython/semantics/python_ast_to_asr.cpp
@@ -3076,7 +3076,7 @@ class CommonVisitor : public AST::BaseVisitor<Struct> {
3076
bool is_packed = false;
3077
if( !is_dataclass(x.m_decorator_list, x.n_decorator_list,
3078
algined_expr, is_packed) ) {
3079
- throw SemanticError("Only dataclass decorated classes and Enum subclasses are supported.",
+ throw SemanticError("Only dataclass-decorated classes and Enum subclasses are supported.",
3080
x.base.base.loc);
3081
}
3082
0 commit comments