Skip to content
Snippets Groups Projects
Unverified Commit ed37b61f authored by Torsten Scholak's avatar Torsten Scholak Committed by GitHub
Browse files

don't crash when an unused operator import ends in `.` (#2123)


* replace head with safer uncons

* if empty, stay empty

* add test for removal of operators ending with '.'

* make remove-import-actions tests pass

* add more tests and debug output for modifyBinding

* implement reviewers suggestions

* restore ghcide/bench/example/HLS

Co-authored-by: default avatarPepe Iborra <pepeiborra@gmail.com>
parent 2e0f6cd8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment