phoityne / haskell-debug-adapter

Debug Adapter for Haskell debugging system.
https://hackage.haskell.org/package/haskell-debug-adapter
BSD 3-Clause "New" or "Revised" License
54 stars 8 forks source link

Test fails to run #11

Closed poscat0x04 closed 4 years ago

poscat0x04 commented 4 years ago
test/Haskell/Debug/Adapter/ControlSpec.hs:53:33: error:
    • Couldn't match expected type ‘IO ()’
                  with actual type ‘S.Handle -> IO ()’
    • Probable cause: ‘run’ is applied to too few arguments
      In the first argument of ‘Concurrently’, namely
        ‘(run fromClient toClient)’
      In the second argument of ‘(<$>)’, namely
        ‘Concurrently (run fromClient toClient)’
      In the first argument of ‘(<*>)’, namely
        ‘(,) <$> Concurrently (run fromClient toClient)’
   |
53 |               <$> Concurrently (run fromClient toClient)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^

test/Haskell/Debug/Adapter/ControlSpec.hs:53:37: error:
    • Couldn't match expected type ‘ArgData’
                  with actual type ‘S.Handle’
    • In the first argument of ‘run’, namely ‘fromClient’
      In the first argument of ‘Concurrently’, namely
        ‘(run fromClient toClient)’
      In the second argument of ‘(<$>)’, namely
        ‘Concurrently (run fromClient toClient)’
   |
53 |               <$> Concurrently (run fromClient toClient)
   |                                     ^^^^^^^^^^
phoityne commented 4 years ago

Thank you for the report. Fixed.