swift
29bf82eb - [CSSimplify] Fix sub-pattern matching logic related closure and enum element (#62777)

Commit
2 years ago
[CSSimplify] Fix sub-pattern matching logic related closure and enum element (#62777) * [CSSimplify] fix pattern matching logic which is as part of the enum element for closure * add test * Fixed logic to apply to N levels of nesting * update tests that take into account N levels of nesting. * fix indentation * use dynamic variables and uppdate some logic * Revert "use dynamic variables and uppdate some logic" This reverts commit 279dc4fe6b5ab2cbc9b4aca3e6767c3a432fd7b9. * fix logic to only see pattern matches * clean up unnecessary logic Co-authored-by: Luciano Almeida <passos.luciano@outlook.com> * Clean up unnecessary logic(2) * remove dropping * Fix documentation comments to match current context * clean up unnecessary logic * remove comments Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
Author
Parents
Loading