Skip to content

Conversation

@cirras
Copy link
Collaborator

@cirras cirras commented Jan 20, 2025

This PR excludes anonymous methods from EmptyBlock and flags them in EmptyRoutine instead.

Fixes #315.

@cirras cirras requested a review from fourls January 20, 2025 03:34
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good! I have a couple of comments.

@cirras cirras force-pushed the empty_anonymous_method branch from ac46997 to 20d1fd4 Compare January 21, 2025 01:14
@cirras cirras requested a review from fourls January 21, 2025 01:15
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one note. Looks good otherwise.

@cirras cirras force-pushed the empty_anonymous_method branch from 20d1fd4 to a750db2 Compare January 21, 2025 02:07
@cirras cirras requested a review from fourls January 21, 2025 02:08
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@fourls fourls merged commit f4b2b0e into master Jan 21, 2025
4 checks passed
@fourls fourls deleted the empty_anonymous_method branch January 21, 2025 02:45
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.

EmptyBlock raises issue on empty anonymous methods, but EmptyRoutine does not

3 participants