Remove Optional from internalTypes (#3981)

That list only contains types in DA.Internal.LF whereas Optional is in
DA.Internal.Prelude.

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Moritz Kiefer 2020-01-08 15:05:58 +01:00 committed by mergify[bot]
parent d1449e78c7
commit ad5e05c2ce

View File

@ -779,7 +779,7 @@ convertBind env (name, x)
-- during conversion to DAML-LF together with their constructors since we
-- deliberately remove 'GHC.Types.Opaque' as well.
internalTypes :: UniqSet FastString
internalTypes = mkUniqSet ["Scenario","Update","ContractId","Time","Date","Party","Pair", "TextMap", "Map", "Any", "TypeRep", "Optional"]
internalTypes = mkUniqSet ["Scenario","Update","ContractId","Time","Date","Party","Pair", "TextMap", "Map", "Any", "TypeRep"]
consumingTypes :: UniqSet FastString
consumingTypes = mkUniqSet ["PreConsuming", "PostConsuming", "NonConsuming"]