Skip to content

moveToNewFile: Don't provide refactor if selection is just imports - #24336

Merged
1 commit merged into
masterfrom
moveToNewFile_selectionOnImports
May 22, 2018
Merged

1 commit merged into
masterfrom
moveToNewFile_selectionOnImports

Conversation

@ghost

Copy link
Copy Markdown

Since #24177 we don't move imports; this means that we should check the result of getStatementsToMove instead of just getFirstAndLastStatementToMove.

@ghost
ghost merged commit ba63f49 into master May 22, 2018
@ghost
ghost deleted the moveToNewFile_selectionOnImports branch May 22, 2018 22:21
@mhegazy

Copy link
Copy Markdown
Contributor

we need to port this to release-2.9 as well.

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant