mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
Remove the typeSynonyms feature flag in the engine (#18354)
This commit is contained in:
parent
ef2d327de7
commit
b89a274c90
@ -244,9 +244,7 @@ private[archive] class DecodeV2(minor: LV.Minor) {
|
||||
val exceptions = mutable.ArrayBuffer[(DottedName, DefException)]()
|
||||
val interfaces = mutable.ArrayBuffer[(DottedName, DefInterface)]()
|
||||
|
||||
if (versionIsOlderThan(LV.Features.typeSynonyms)) {
|
||||
assertEmpty(lfModule.getSynonymsList, "Module.synonyms")
|
||||
} else if (!onlySerializableDataDefs) {
|
||||
if (!onlySerializableDataDefs) {
|
||||
// collect type synonyms
|
||||
lfModule.getSynonymsList.asScala
|
||||
.foreach { defn =>
|
||||
|
@ -51,7 +51,6 @@ object LanguageVersion {
|
||||
val default = v2_1
|
||||
val anyType = v2_1
|
||||
val typeRep = v2_1
|
||||
val typeSynonyms = v2_1
|
||||
val packageMetadata = v2_1
|
||||
val choiceObservers = v2_1
|
||||
val bigNumeric = v2_1
|
||||
|
Loading…
Reference in New Issue
Block a user