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
112
112
WorkspaceEditSpec
113
113
build-depends : base
114
114
, QuickCheck
115
- , aeson
115
+ -- for instance Arbitrary Value
116
+ , aeson >= 2.0.3.0
116
117
, containers
117
118
, filepath
118
119
, lsp
Original file line number Diff line number Diff line change 1
- {-# LANGUAGE CPP #-}
2
1
{-# LANGUAGE UndecidableInstances #-}
3
2
{-# LANGUAGE FlexibleContexts #-}
4
3
{-# LANGUAGE TypeInType #-}
@@ -160,16 +159,6 @@ smallList = resize 3 . listOf
160
159
instance (Arbitrary a ) => Arbitrary (List a ) where
161
160
arbitrary = List <$> arbitrary
162
161
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
-
173
162
-- ---------------------------------------------------------------------
174
163
175
164
instance Arbitrary DidChangeWatchedFilesRegistrationOptions where
You can’t perform that action at this time.
0 commit comments