Closed lorenzo closed 6 years ago
When completing form example the following:
let a = fromJust Not
And selecting Nothing from the list. You get a wrong snippet:
Nothing
let a = fromJust Nothing Maybe a
We should omit the last placeholder when completing a constructor
Whoever wants to fix this issue, will need to modify this function:
and also write a test case here:
https://github.com/haskell/haskell-ide-engine/blob/master/test/functional/CompletionSpec.hs
When completing form example the following:
And selecting
Nothing
from the list. You get a wrong snippet:We should omit the last placeholder when completing a constructor