-
-
Notifications
You must be signed in to change notification settings - Fork 400
Closed
Labels
component: wingmanstatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: enhancementNew feature or requestNew feature or request
Description
Thanks for the great work on Wingman @isovector!
Something that would be quite useful is a code action to add missing cases to a function/case expression. The main use case is extending a data type with a new constructor. For example, given
data Foo
= A
| B
split :: Foo -> Int
split A = 0
split B = 1
if I add a new constructor to Foo
:
data Foo
= A
| B
| C
then a warning shows up about split
not covering all the cases. It would be nice if a code action could add the missing case!
googleson78, isovector, pepeiborra, Ailrun and Dessix
Metadata
Metadata
Assignees
Labels
component: wingmanstatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: enhancementNew feature or requestNew feature or request