rope icon indicating copy to clipboard operation
rope copied to clipboard

patchedast is currently not handling some `match-case` statement syntaxes

Open lieryan opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

#456 adds pattern matching to rope, but it seems like support is incomplete as patchedast currently doesn't handle these nodes:

'MatchOr', 'MatchSequence', 'MatchSingleton', 'MatchStar',

This will likely cause extract refactoring to have issues when these syntaxes are being used.

Describe the solution you'd like

Implement these nodes.

Docs on how to implement this

  • https://github.com/python-rope/rope/wiki/Supporting-new-syntax-for-refactoring

lieryan avatar Dec 22 '22 13:12 lieryan