Skip to content

Commit

Permalink
Try adding HasCallStack to introduce nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Feb 29, 2024
1 parent 81f06c7 commit 5c5464b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sandwich/src/Test/Sandwich/Types/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ introduce :: (HasCallStack, Typeable intro) =>
-- ^ 'Label' under which to introduce the value
-> ExampleT context m intro
-- ^ Action to produce the new value (of type 'intro')
-> (intro -> ExampleT context m ())
-> ((HasCallStack) => intro -> ExampleT context m ())
-- ^ Action to clean up the new value
-> SpecFree (LabelValue l intro :> context) m ()
-- ^ Child spec tree
Expand All @@ -392,7 +392,7 @@ introduce' :: (HasCallStack, Typeable intro) =>
-- ^ 'Label' under which to introduce the value
-> ExampleT context m intro
-- ^ Action to produce the new value (of type 'intro')
-> (intro -> ExampleT context m ())
-> ((HasCallStack) => intro -> ExampleT context m ())
-- ^ Action to clean up the new value
-> SpecFree (LabelValue l intro :> context) m ()
-- ^ Child spec tree
Expand All @@ -411,7 +411,7 @@ introduce'' :: (HasCallStack, Typeable intro) =>
-- ^ 'Label' under which to introduce the value
-> ExampleT context m intro
-- ^ Action to produce the new value (of type 'intro')
-> (intro -> ExampleT context m ())
-> ((HasCallStack) => intro -> ExampleT context m ())
-- ^ Action to clean up the new value
-> SpecFree (LabelValue l intro :> context) m ()
-- ^ Child spec tree
Expand All @@ -425,7 +425,7 @@ introduceWith :: (HasCallStack) =>
-- ^ String label for this node
-> Label l intro
-- ^ 'Label' under which to introduce the value
-> ((intro -> ExampleT context m [Result]) -> ExampleT context m ())
-> (((HasCallStack) => intro -> ExampleT context m [Result]) -> ExampleT context m ())
-- ^ Callback to receive the new value and the child tree.
-> SpecFree (LabelValue l intro :> context) m ()
-- ^ Child spec tree
Expand All @@ -440,7 +440,7 @@ introduceWith' :: (HasCallStack) =>
-- ^ String label for this node
-> Label l intro
-- ^ 'Label' under which to introduce the value
-> ((intro -> ExampleT context m [Result]) -> ExampleT context m ())
-> (((HasCallStack) => intro -> ExampleT context m [Result]) -> ExampleT context m ())
-- ^ Callback to receive the new value and the child tree.
-> SpecFree (LabelValue l intro :> context) m ()
-- ^ Child spec tree
Expand All @@ -457,7 +457,7 @@ introduceWith'' :: (HasCallStack) =>
-- ^ String label for this node
-> Label l intro
-- ^ 'Label' under which to introduce the value
-> ((intro -> ExampleT context m [Result]) -> ExampleT context m ())
-> (((HasCallStack) => intro -> ExampleT context m [Result]) -> ExampleT context m ())
-- ^ Callback to receive the new value and the child tree.
-> SpecFree (LabelValue l intro :> context) m ()
-- ^ Child spec tree
Expand Down

0 comments on commit 5c5464b

Please sign in to comment.