Skip to content

Commit

Permalink
fixes a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ArquintL committed Jul 3, 2023
1 parent 50f379c commit bb3610b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/viper/gobra/frontend/Desugar.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object Desugar extends LazyLogging {
val pkg = info.tree.root
val importsCollector = new PackageInitSpecCollector

val importeDesugaringDurationMs = new AtomicLong(0)
val importedDesugaringDurationMs = new AtomicLong(0)
val importedProgramsFuts = info.getTransitiveTypeInfos(includeThis = false).toSeq.map { tI => Future {
val importedDesugaringStartMs = System.currentTimeMillis()
val typeInfo = tI.getTypeInfo
Expand All @@ -45,7 +45,7 @@ object Desugar extends LazyLogging {
// registers a package to generate proof obligations for its init code
d.registerPackage(importedPackage, importsCollector)(config)
val res = (d, d.packageD(importedPackage))
importeDesugaringDurationMs.addAndGet(System.currentTimeMillis() - importedDesugaringStartMs)
importedDesugaringDurationMs.addAndGet(System.currentTimeMillis() - importedDesugaringStartMs)
res
}}

Expand All @@ -69,7 +69,7 @@ object Desugar extends LazyLogging {
val (mainDesugarer, mainProgram) = futResults.head
val importedPrograms = futResults.tail
logger.trace {
val importedDurationS = f"${importeDesugaringDurationMs.get() / 1000f}%.1f"
val importedDurationS = f"${importedDesugaringDurationMs.get() / 1000f}%.1f"
s"desugaring imported packages done, took ${importedDurationS}s"
}

Expand Down

0 comments on commit bb3610b

Please sign in to comment.