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

(cont) Add support for deferred closer functions which are not methods #34

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

vanntile
Copy link
Contributor

@vanntile vanntile commented Nov 3, 2023

This is a fix PR relating to #33 - empty return functions would be assumed to prime handling the closing of rows statements. This is obviously only true if the return instruction's results include one of the relevant types.

As a result, deferred functions which do not close the initial statement would pass without a linter error. I have added a test to verify this case outputs an error.

This probably completes the issue #7

@ryanrolds ryanrolds merged commit cae41ab into ryanrolds:main Nov 4, 2023
1 check passed
@ryanrolds
Copy link
Owner

Thank you.

@vanntile
Copy link
Contributor Author

vanntile commented Nov 4, 2023

Thank you for being responsive!

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