Skip to content

Indentation breaks when using standalone deriving #1046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bitemyapp opened this issue Dec 30, 2015 · 2 comments · Fixed by #1276
Closed

Indentation breaks when using standalone deriving #1046

bitemyapp opened this issue Dec 30, 2015 · 2 comments · Fixed by #1276

Comments

@bitemyapp
Copy link

{-# LANGUAGE Arrows                #-}
{-# LANGUAGE DeriveGeneric         #-}
{-# LANGUAGE FlexibleContexts      #-}
{-# LANGUAGE FlexibleInstances     #-}
{-# LANGUAGE GADTs                 #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE QuasiQuotes           #-}
{-# LANGUAGE ScopedTypeVariables   #-}
{-# LANGUAGE StandaloneDeriving    #-}
{-# LANGUAGE TemplateHaskell       #-}
{-# LANGUAGE TupleSections         #-}
{-# LANGUAGE TypeFamilies          #-}

module Broken.Indent
       ( Name(..)
       ) where

data Name = Name String

deriving instance Eq Name
deriving instance Show Name
@gracjan
Copy link
Contributor

gracjan commented Jan 14, 2016

Test case for this is in #1073.

@gracjan
Copy link
Contributor

gracjan commented Feb 6, 2016

@issue-dispenser, how do you feel about tackling this one? It will require a bit of shuffling in haskell-indentation.el, but overall is rather doable. What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants