Skip to content

Commit 14fa90b

Browse files
committed
Temporarily enable the old functions
1 parent 6ebd379 commit 14fa90b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lpython/semantics/python_ast_to_asr.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,10 +2054,14 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
20542054
if (intrinsic_procedures.is_intrinsic(call_name)) {
20552055
s = resolve_intrinsic_function(x.base.base.loc, call_name);
20562056
} else {
2057+
// TODO: We need to port all functions below to the intrinsic functions file
2058+
// Then we can uncomment this error message:
2059+
/*
20572060
throw SemanticError("The function '" + call_name + "' is not declared and not intrinsic",
20582061
x.base.base.loc);
20592062
}
20602063
if (false) {
2064+
*/
20612065
// This will all be removed once we port it to intrinsic functions
20622066
// Intrinsic functions
20632067
if (call_name == "size") {

0 commit comments

Comments
 (0)