We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c98bc96 commit c749c01Copy full SHA for c749c01
cuddle.cabal
@@ -1,6 +1,6 @@
1
cabal-version: 3.4
2
name: cuddle
3
-version: 0.1.2.0
+version: 0.1.3.0
4
synopsis: CDDL Generator and test utilities
5
6
-- description:
src/Codec/CBOR/Cuddle/Huddle.hs
@@ -814,7 +814,9 @@ collectFrom topR =
814
when (HaskMap.notMember n gRules) $ do
815
modify (over _3 $ HaskMap.insert n (fmap callToDef r))
816
goT0 (body g)
817
- mapM_ goT2 $ args g
+ -- Note that the parameters here may be different, so this doesn't live
818
+ -- under the guard
819
+ mapM_ goT2 $ args g
820
goT2 _ = pure ()
821
goArrayEntry (ArrayEntry (Just k) t0 _) = goKey k >> goT0 t0
822
goArrayEntry (ArrayEntry Nothing t0 _) = goT0 t0
0 commit comments