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.
1 parent a04d456 commit 73bd468Copy full SHA for 73bd468
src/lpython/semantics/python_ast_to_asr.cpp
@@ -3500,9 +3500,13 @@ class SymbolTableVisitor : public CommonVisitor<SymbolTableVisitor> {
3500
is_inline = true;
3501
} else if (name == "static") {
3502
is_static = true;
3503
+ } else if (name == "jit") {
3504
+ throw SemanticError("`@lpython.jit` decorator must be "
3505
+ "run from CPython, not compiled using LPython",
3506
+ dec->base.loc);
3507
} else {
3508
throw SemanticError("Decorator: " + name + " is not supported",
- x.base.base.loc);
3509
3510
}
3511
} else if (AST::is_a<AST::Call_t>(*dec)) {
3512
AST::Call_t *call_d = AST::down_cast<AST::Call_t>(dec);
0 commit comments