Skip to content

Commit

Permalink
Remove comment + test for revealing closure
Browse files Browse the repository at this point in the history
  • Loading branch information
dnezam committed Feb 8, 2024
1 parent bcd8ef6 commit 0d5fc69
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions src/main/scala/viper/gobra/frontend/Desugar.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3239,8 +3239,6 @@ object Desugar extends LazyLogging {
val isOpaque = m.spec.isOpaque

val mem = if (m.spec.isPure) {
// Not sure whether passing opaque here instead of raising a violation if opaque
// is true is correct, since this doesn't seem to be a normal method/function call.
in.PureMethod(recv, proxy, args, returns, pres, posts, terminationMeasures, None, isOpaque)(src)
} else {
in.Method(recv, proxy, args, returns, pres, posts, terminationMeasures, None)(src)
Expand Down

This file was deleted.

0 comments on commit 0d5fc69

Please sign in to comment.