haskell-stack-trace-plugin icon indicating copy to clipboard operation
haskell-stack-trace-plugin copied to clipboard

Redundant constraints generated

Open etorreborre opened this issue 4 years ago • 1 comments

@waddlaw I'm opening a new issue to deal with this redundant constraint warning that I observed after #11

 • Redundant constraints: (HasCallStack, HasCallStack)
    • In the type signature for:
           contractConfig :: (HasCallStack, HasCallStack, HasCallStack) =>
                             ContractConfig
    |
225 | contractConfig :: ContractConfig
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

etorreborre avatar Oct 28 '21 07:10 etorreborre

I also see this unused imports warning as well, which is possibly related to this issue.

warning: [-Wunused-imports]
    The qualified import of ‘GHC.Stack’ is redundant
      except perhaps to import instances from ‘GHC.Stack’
    To import instances alone, use: import GHC.Stack()

abhin4v avatar Feb 17 '22 06:02 abhin4v