Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed true/false to "true"/ "false" as boolean is still not supported #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

None yet

2 participants