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

Added support for return statements #45

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Krishna-13-cyber
Copy link
Contributor

@Krishna-13-cyber Krishna-13-cyber commented Jul 27, 2022

This PR adds the support for return statements to be called anywhere in the function body,it removes the requirement that return statements needed to be called at the end of a function body only.
1.The return statements can be called only in function and not anywhere else.
2.Function body without return statements report an error

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

1 participant