Closed
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