Skip to content

Conversation

NeveIsa
Copy link

@NeveIsa NeveIsa commented Jun 4, 2024

The following example results in error.

def is_even(number):
  if number % 2 == 0:
    return true
  else:
    return false

def main():
  return is_even(10)

╰─$ bend run filename.bend
Errors:
In definition 'is_even':
Unbound variable 'false'.
Unbound variable 'true'.

@geekyayush
Copy link
Owner

Thanks for the PR. I will have a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants