Fixed Lexer tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user