[
https://issues.apache.org/jira/browse/GROOVY-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789710#comment-17789710
]
ASF GitHub Bot commented on GROOVY-11229:
-----------------------------------------
eric-milles commented on PR #1994:
URL: https://github.com/apache/groovy/pull/1994#issuecomment-1826398019
It would have been better to state in the original issue ticket that the
goal is to support `instanceof` and `switch` pattern matching. It is still not
clear from this where your plan takes us. You just have something stuck onto
every `ClassExpression` that is not referenced by anything and does not tie
into variable scopes or resolve visitor or anything else.
> Support pattern matching for `instanceof`
> -----------------------------------------
>
> Key: GROOVY-11229
> URL: https://issues.apache.org/jira/browse/GROOVY-11229
> Project: Groovy
> Issue Type: New Feature
> Reporter: Daniel Sun
> Priority: Major
>
> See also https://openjdk.org/jeps/394
--
This message was sent by Atlassian Jira
(v8.20.10#820010)