[
https://issues.apache.org/jira/browse/GROOVY-12641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18139865#comment-18139865
]
ASF GitHub Bot commented on GROOVY-12641:
-----------------------------------------
daniellansun opened a new pull request, #3249:
URL: https://github.com/apache/groovy/pull/3249
## Summary
Inline the remaining GEP-19 switch-pattern scripts under
`src/test-resources/core` and `fail` into `ParserPositiveSyntaxTest` /
`ParserNegativeSyntaxTest` as `expectAst` / `expectParseError` snippets, and
delete `SwitchPatternSyntaxTest`.
`AstXmlDumper` now prints a `PatternExpression`'s match tree and guard so
the inlined dumps lock the written pattern. Empty `core` and `fail` directories
are removed; other `test-resources` stay.
## Related
- https://issues.apache.org/jira/browse/GROOVY-12641
> structural pattern matching in switch and instanceof (GEP-19 initial
> implementation)
> ------------------------------------------------------------------------------------
>
> Key: GROOVY-12641
> URL: https://issues.apache.org/jira/browse/GROOVY-12641
> Project: Groovy
> Issue Type: New Feature
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
> Fix For: 7.0.0-alpha-1
>
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)