Skip to content

Commit

Permalink
Remove redundant case, remove leftover commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
dylant-da committed Aug 1, 2024
1 parent 9d3a67b commit a1db246
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,6 @@ isStructurallyEquivalentDatatype identicalCons datatype =
pure (allConNamesMatch && allTypesMatch)
Upgrading { _past = DataEnum _past, _present = DataEnum _present } -> do
pure $ _past == _present
Upgrading { _past = DataInterface {}, _present = DataInterface {} } ->
pure False
_ ->
pure False

Expand Down
3 changes: 0 additions & 3 deletions sdk/compiler/damlc/daml-compiler/src/DA/Daml/Compiler/Dar.hs
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ buildDar service PackageConfigFields {..} ifDir dalfInput upgradeInfo = do
[ (T.pack $ unitIdString unitId, LF.dalfPackageBytes pkg, LF.dalfPackageId pkg)
| (unitId, pkg) <- Map.toList dalfDependencies0
]
--MaybeT $
-- runDiagnosticCheck $ diagsToIdeResult (toNormalizedFilePath' pSrc) $
-- TypeChecker.Upgrade.checkUpgradeDependencies lfVersion pTypecheckUpgrades pkg (Map.elems dalfDependencies0) mbUpgradedPackage
unstableDeps <- getUnstableDalfDependencies files
let confFile = mkConfFile pName pVersion (Map.keys unstableDeps) pExposedModules pkgModuleNames pkgId
let dataFiles = [confFile]
Expand Down

0 comments on commit a1db246

Please sign in to comment.