File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
lambda-buffers-compiler/src/LambdaBuffers/Compiler/ProtoCompat Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -205,14 +205,17 @@ data ForeignClassRef = ForeignClassRef
205
205
, sourceInfo :: SourceInfo
206
206
}
207
207
deriving stock (Show , Eq , Ord , Generic )
208
+ deriving (Arbitrary ) via GenericArbitrary ForeignClassRef
208
209
209
210
data LocalClassRef = LocalClassRef { className :: ClassName , sourceInfo :: SourceInfo }
210
211
deriving stock (Show , Eq , Ord , Generic )
212
+ deriving (Arbitrary ) via GenericArbitrary LocalClassRef
211
213
212
214
data TyClassRef
213
215
= LocalCI LocalClassRef
214
216
| ForeignCI ForeignClassRef
215
217
deriving stock (Show , Eq , Ord , Generic )
218
+ deriving (Arbitrary ) via GenericArbitrary TyClassRef
216
219
217
220
data ClassDef = ClassDef
218
221
{ className :: ClassName
@@ -270,6 +273,7 @@ instance Arbitrary Module where
270
273
<*> resize n arbitrary
271
274
<*> resize n arbitrary
272
275
<*> resize n arbitrary
276
+ <*> resize n arbitrary
273
277
274
278
data InferenceErr
275
279
= UnboundTermErr Text
You can’t perform that action at this time.
0 commit comments