Skip to content

Commit

Permalink
Fix outsideCondScopeData
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed May 21, 2024
1 parent 2c5e826 commit a4baf0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/spinal/core/Misc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ object ContextSwapper{
addedLast.nextScopeStatement = oldHead
if (oldHead != null) oldHead.lastScopeStatement = addedLast
if (oldLast != null) oldLast.nextScopeStatement = null.asInstanceOf[Statement]
topBody.last = oldLast
topBody.last = if(oldLast == null) addedLast else oldLast
}

ret // return the value returned by that
Expand Down

0 comments on commit a4baf0d

Please sign in to comment.