Skip to content

Allow return statement without arguments#404

Merged
joente merged 2 commits intomainfrom
allow_ret_nil
Jan 20, 2025
Merged

Allow return statement without arguments#404
joente merged 2 commits intomainfrom
allow_ret_nil

Conversation

@joente
Copy link
Copy Markdown
Member

@joente joente commented Jan 20, 2025

Description

Allow the return; statement to be used without arguments to implicitly return nil.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Test syntax updated

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes

@joente joente self-assigned this Jan 20, 2025
@joente joente merged commit a5b4ab7 into main Jan 20, 2025
@joente joente deleted the allow_ret_nil branch January 28, 2025 11:07
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.

1 participant