Skip to content

Add a quick fix for stubbing out functions without a body

Fredrik Wieczerkowski requested to merge no-body-quick-fix into master

This adds a new quick fix for function signatures without a body:

image

The fix adds the following stub:

someFunc :: Int -> Int
someFunc = failed

This also works in indented contexts:

image

which is completed to:

someFunc :: Int -> Int
someFunc = id
  where f :: Int -> Int
        f = failed

Merge request reports

Loading