Skip to content

Commit

Permalink
Drop scenario compat helpers (#12389)
Browse files Browse the repository at this point in the history
They are in Prelude so they steal identifiers and we’re killing
scenarios so keeping these around makes little sense.

changelog_begin
changelog_end
  • Loading branch information
cocreature authored Jan 13, 2022
1 parent b7ded08 commit e9e673c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions compiler/damlc/daml-stdlib-src/DA/Internal/Compatible.daml
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,6 @@ type MonadFail = ActionFail
{-# DEPRECATED Num "Daml compatibility helper, use 'Number' instead of 'Num'" #-}
type Num = Number

{-# DEPRECATED commits "Daml compatibility helper, use 'submit' instead of 'commits'" #-}
infixr 0 `commits`
commits : Party -> Update a -> Scenario a
commits = submit

{-# DEPRECATED fails "Daml compatibility helper, use 'submitMustFail' instead of 'fails'" #-}
infixr 0 `fails`
fails : Party -> Update a -> Scenario ()
fails = submitMustFail

{-# DEPRECATED test "Daml compatibility helper, use 'scenario' instead" #-}
test : Scenario a -> Scenario a
test = identity

{-# DEPRECATED Maybe "Daml compatibility helper, use 'Optional' instead of 'Maybe'" #-}
type Maybe = Optional

Expand Down

0 comments on commit e9e673c

Please sign in to comment.