Skip to content

Commit

Permalink
Merge pull request #287 from cucapra/tissue3-fixing
Browse files Browse the repository at this point in the history
rename res to result
  • Loading branch information
tissue3 authored Nov 21, 2019
2 parents 1777f8c + 4415e4f commit 69c22b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/passes/LoopCheck.scala
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ object LoopChecker {
def merge(that: LEnv): LEnv = {
val m1 = this.stateMap
val m2 = that.stateMap
val res = m1.head.keys.foldLeft[LEnv](LEnv(m1, nameMap, exprMap))({
val result = m1.head.keys.foldLeft[LEnv](LEnv(m1, nameMap, exprMap))({
case (env, k) => mergeHelper(k, m1.get(k), m2.get(k), env)
})
res
result
}
}

Expand Down

0 comments on commit 69c22b2

Please sign in to comment.