mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Exclude via $cexerciseGuarded check - ClassOpId approach did not work
This commit is contained in:
parent
b635dcd7cb
commit
9a83d0776e
@ -1362,7 +1362,12 @@ convertBind env mc (name, x)
|
||||
|
||||
-- Remove guarded exercise when Extended Interfaces are unsupported
|
||||
| not (envLfVersion env `supports` featureExtendedInterfaces)
|
||||
, "exerciseGuarded" `T.isInfixOf` getOccText name
|
||||
, "$cexerciseGuarded" `T.isPrefixOf` getOccText name
|
||||
= pure []
|
||||
|
||||
-- Remove guarded exercise when Extended Interfaces are unsupported
|
||||
| not (envLfVersion env `supports` featureExtendedInterfaces)
|
||||
, NameIn DA_Internal_Template_Functions "exerciseGuarded" <- name
|
||||
= pure []
|
||||
|
||||
| not (envLfVersion env `supports` featureExtendedInterfaces)
|
||||
|
Loading…
Reference in New Issue
Block a user