Skip to content

Commit f4f7f95

Browse files
committed
clarify comment
1 parent a529545 commit f4f7f95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hkmc2/shared/src/main/scala/hkmc2/codegen/Deforestation.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ trait StratVarTrait(stratState: StratVarState):
101101

102102
final case class NotDeforestableException(msg: String) extends Exception(msg)
103103

104-
// Compute free vars for a block, without considering deforestation, used on transformed blocks
104+
// Compute free vars for a block, without considering deforestation.
105+
// Used on blocks after the deforestation transformation.
105106
// This means that for matches we don't need to consider the extra
106107
// free vars that may be introduced by deforestation:
107108
// 1. the free vars from the `rest` of the their parent matches

0 commit comments

Comments
 (0)