Skip to content

Commit 1c4bedf

Browse files
authored
Recording some definitions for higher depth (#693)
1 parent 4f64016 commit 1c4bedf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/scala/supporters/functions/FunctionRecorder.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,15 @@ case class ActualFunctionRecorder(private val _data: FunctionData,
140140
}
141141

142142
def recordFvfAndDomain(fvfDef: SnapshotMapDefinition): ActualFunctionRecorder =
143-
if (depth <= 1) copy(freshFvfsAndDomains = freshFvfsAndDomains + fvfDef)
143+
if (depth <= 2) copy(freshFvfsAndDomains = freshFvfsAndDomains + fvfDef)
144144
else this
145145

146146
def recordFieldInv(inv: InverseFunctions): ActualFunctionRecorder =
147-
if (depth <= 1) copy(freshFieldInvs = freshFieldInvs + inv)
147+
if (depth <= 2) copy(freshFieldInvs = freshFieldInvs + inv)
148148
else this
149149

150150
def recordArp(arp: Var, constraint: Term): ActualFunctionRecorder =
151-
if (depth <= 1) copy(freshArps = freshArps + ((arp, constraint)))
151+
if (depth <= 2) copy(freshArps = freshArps + ((arp, constraint)))
152152
else this
153153

154154
def recordFreshSnapshot(snap: Function): ActualFunctionRecorder =

0 commit comments

Comments
 (0)