daniellansun commented on PR #2199: URL: https://github.com/apache/groovy/pull/2199#issuecomment-2816547275
If switch expression closure delegates to the enum class, switch expression and switch statement will be different. As a result, it's hard for users to understand if they do not know the delegating. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@groovy.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org