File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,8 @@ test-suite unit-test
112112 WorkspaceEditSpec
113113 build-depends : base
114114 , QuickCheck
115- , aeson
115+ -- for instance Arbitrary Value
116+ , aeson >= 2.0.3.0
116117 , containers
117118 , filepath
118119 , lsp
Original file line number Diff line number Diff line change 1- {-# LANGUAGE CPP #-}
21{-# LANGUAGE UndecidableInstances #-}
32{-# LANGUAGE FlexibleContexts #-}
43{-# LANGUAGE TypeInType #-}
@@ -160,16 +159,6 @@ smallList = resize 3 . listOf
160159instance (Arbitrary a ) => Arbitrary (List a ) where
161160 arbitrary = List <$> arbitrary
162161
163- #if !MIN_VERSION_aeson(2,0,3)
164- instance Arbitrary J. Value where
165- arbitrary = oneof
166- [ J. String <$> arbitrary
167- , J. Number <$> arbitrary
168- , J. Bool <$> arbitrary
169- , pure J. Null
170- ]
171- #endif
172-
173162-- ---------------------------------------------------------------------
174163
175164instance Arbitrary DidChangeWatchedFilesRegistrationOptions where
You can’t perform that action at this time.
0 commit comments