Skip to content

Build error on  #1111

Description

@webhive

Got the folowing error when trying to install stack install yi-core

...
yi-core                          > /tmp/stack11022/yi-core-0.18.0/src/Yi/Buffer/Misc.hs:453:25-95: error:
yi-core                          >     • No instance for (Control.Monad.Fail.MonadFail BufferM)
yi-core                          >         arising from a do statement
yi-core                          >         with the failable pattern ‘Just mrks’
yi-core                          >     • In a stmt of a 'do' block:
yi-core                          >         Just mrks <- uses
yi-core                          >                        winMarksA (M.lookup $ wkey (b ^. lastActiveWindowA))
yi-core                          >       In the expression:
yi-core                          >         do Just mrks <- uses
yi-core                          >                           winMarksA (M.lookup $ wkey (b ^. lastActiveWindowA))
yi-core                          >            forM mrks getMarkValueB
yi-core                          >       In a stmt of a 'do' block:
yi-core                          >         newMarkValues <- if wkey (b ^. lastActiveWindowA) == def then
yi-core                          >                              return
yi-core                          >                                MarkSet
yi-core                          >                                  {insMark = MarkValue 0 Forward, selMark = MarkValue 0 Backward,
yi-core                          >                                   fromMark = MarkValue 0 Backward}
yi-core                          >                          else
yi-core                          >                              do Just mrks <- uses
yi-core                          >                                                winMarksA (M.lookup $ wkey (b ^. lastActiveWindowA))
yi-core                          >                                 forM mrks getMarkValueB
yi-core                          >     |
yi-core                          > 453 |                         Just mrks  <- uses winMarksA (M.lookup $ wkey (b ^. lastActiveWindowA))
yi-core                          >     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
yi-core                          > 
yi-core                          > /tmp/stack11022/yi-core-0.18.0/src/Yi/Buffer/Misc.hs:873:3-30: error:
yi-core                          >     • No instance for (Control.Monad.Fail.MonadFail BufferM)
yi-core                          >         arising from a do statement
yi-core                          >         with the failable pattern ‘Just !ms’
yi-core                          >     • In a stmt of a 'do' block: Just !ms <- getMarks =<< ask
yi-core                          >       In the expression:
yi-core                          >         do Just !ms <- getMarks =<< ask
yi-core                          >            return ms
yi-core                          >       In an equation for ‘askMarks’:
yi-core                          >           askMarks
yi-core                          >             = do Just !ms <- getMarks =<< ask
yi-core                          >                  return ms
yi-core                          >     |
yi-core                          > 873 |   Just !ms <- getMarks =<< ask
yi-core                          >     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
yi-core                          > 
Completed 42 action(s).
--  While building package yi-core-0.18.0 using:

Activity

  1. na4zagin3 commented on Oct 2, 2019

    @na4zagin3

    I guess this is related to #1108

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions