Skip to content

Commit

Permalink
Merge pull request #376 from kquick/haddock_fix_kwq1
Browse files Browse the repository at this point in the history
Haddocks are invalid for type tuple-field specifications.
  • Loading branch information
yav authored Aug 12, 2024
2 parents 14b8469 + 1dde0c9 commit 7dd6d30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions daedalus-vm/src/Daedalus/VM/Backend/C/Names.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ nsDDL = "DDL"
type NSUser = ( ?nsUser :: Doc

, ?nsInputType :: Doc
-- ^ Use this type to represent input streams
-- Use this type to represent input streams


, ?nsExternal :: Map Src.MName Doc
-- extrenal modules with corresponding namespace
-- external modules with corresponding namespace
)

-- | The namespace where we should put user definde type that are not external
Expand Down
2 changes: 1 addition & 1 deletion daedalus-vm/src/Daedalus/VM/InsertCopy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ insertFree ro (copies,b) = b { blockInstrs = newIs, blockTerm = newTerm }
-- OK if we stop after the first one.
--
-- If we have pass an owned thing as a borrowed argument, and
-- *none* of the continuations own it, we transform one of the
-- *none* of the continuations own it, we transform one of the
-- continutations so that it will free that parameter.
CallCapture f l1 l2 es
| not (null cs) -> (CallCapture f l' l2 es,[newB])
Expand Down

0 comments on commit 7dd6d30

Please sign in to comment.