From 475313459e9fa65dbefd89e254a5eb23bc68b835 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 24 Jun 2026 19:21:56 +0200 Subject: [PATCH] Replaced syscalls with normal function calls in tests --- src/core/testdata/InvalidExpression3.q | 6 ++++-- src/core/testdata/InvalidExpression4.q | 6 ++++-- src/core/testdata/MissingOperand.q | 6 ++++-- src/core/testdata/UnknownIdentifier.q | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/core/testdata/InvalidExpression3.q b/src/core/testdata/InvalidExpression3.q index 752d00b..0647dcc 100644 --- a/src/core/testdata/InvalidExpression3.q +++ b/src/core/testdata/InvalidExpression3.q @@ -1,3 +1,5 @@ main() { - syscall(()) -} \ No newline at end of file + f(()) +} + +f(_ any) {} \ No newline at end of file diff --git a/src/core/testdata/InvalidExpression4.q b/src/core/testdata/InvalidExpression4.q index 77e99f8..07682ac 100644 --- a/src/core/testdata/InvalidExpression4.q +++ b/src/core/testdata/InvalidExpression4.q @@ -1,3 +1,5 @@ main() { - syscall(+, -, *, /) -} \ No newline at end of file + f(+, -, *, /) +} + +f(_ any, _ any, _ any, _ any) {} \ No newline at end of file diff --git a/src/core/testdata/MissingOperand.q b/src/core/testdata/MissingOperand.q index df46622..bc83eb5 100644 --- a/src/core/testdata/MissingOperand.q +++ b/src/core/testdata/MissingOperand.q @@ -1,3 +1,5 @@ main() { - syscall(1+) -} \ No newline at end of file + f(1+) +} + +f(_ any) {} \ No newline at end of file diff --git a/src/core/testdata/UnknownIdentifier.q b/src/core/testdata/UnknownIdentifier.q index 9b13514..b7489e9 100644 --- a/src/core/testdata/UnknownIdentifier.q +++ b/src/core/testdata/UnknownIdentifier.q @@ -1,3 +1,5 @@ main() { - syscall(x) -} \ No newline at end of file + f(x) +} + +f(_ any) {} \ No newline at end of file -- 2.51.2