Fixed Lexer tests

This commit is contained in:
Pasha Bibko
2025-08-20 21:25:33 +01:00
parent d604de28fd
commit b6db61b2c3
5 changed files with 26 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
func<int> fib(int: num)
{
# Base cases (temp excluded) #
# if (n == 0) { return 0 } #
# if (n == 1) { return 1 } #
# Base cases #
if (n == 0) { return 0 }
if (n == 1) { return 1 }
# RECURSION BABYYYY #
return fib(n - 1) + fib(n - 2)