Building library for haskell-debug-adapter-0.0.38.0..
[17 of 31] Compiling Haskell.Debug.Adapter.State.Contaminated ( src/Haskell/Debug/Adapter/State/Contaminated.hs, /work/haskell/haskell-debug-adapter/dist-newstyle/build/x86_64-linux/ghc-9.4.2/haskell-debug-adapter-0.0.38.0/build/Haskell/Debug/Adapter/State/Contaminated.o, /work/haskell/haskell-debug-adapter/dist-newstyle/build/x86_64-linux/ghc-9.4.2/haskell-debug-adapter-0.0.38.0/build/Haskell/Debug/Adapter/State/Contaminated.dyn_o )
src/Haskell/Debug/Adapter/State/Contaminated.hs:35:3: warning: [-Wincomplete-patterns]
Pattern match(es) are non-exhaustive
In an equation for ‘doActivity’:
Patterns of type ‘AppState ContaminatedStateData’,
‘WrapRequest’ not matched:
_ (WrapRequest (SourceRequest _))
|
35 | doActivity s (WrapRequest r@InitializeRequest{}) = action s r
I added the implemention of StateActivityIF for ContaminatedStateData.
https://github.com/phoityne/haskell-debug-adapter/pull/27 introduces the following warning.
I added the implemention of StateActivityIF for ContaminatedStateData.