Open
Description
This happens in lambdas but I found that it happens more generally when the case statement is in parens.
This doesn't happen when you only have an opening parenthesis but since I use a plugin that inserts parenthesis in pairs (typing (
in insert mode gives you (_)
where _
is your cursor) it happens all the time.
-- Expected
case inp of
1 -> True
2 -> False
-- Actual
(case inp of
1 -> True
2 -> False)
-- Expected
case inp of 1 -> True
2 -> False
-- Actual
(case inp of 1 -> True
2 -> False)
Metadata
Metadata
Assignees
Labels
No labels