-
-
Notifications
You must be signed in to change notification settings - Fork 406
Closed
Labels
component: ghcidetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Steps to reproduce
Write this:
data A = A
foo :: A -> A -> A
foo A A = A
test :: A -> A -> A
test a1 a2 = a1 `_` a2
Open up the context menu on the hole and select "replace with foo
".
Expected behaviour
The implementation should now look like:
test :: A -> A -> A
test a1 a2 = a1 `foo` a2
Actual behaviour
The implementation now looks like:
test :: A -> A -> A
test a1 a2 = a1 foo a2
Metadata
Metadata
Assignees
Labels
component: ghcidetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..