Skip to content

Commit 730d719

Browse files
phischumarvinborner
authored andcommitted
Don't note things that don't exist
1 parent fd3ea40 commit 730d719

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

effekt/shared/src/main/scala/effekt/machine/Transformer.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ object Transformer {
9696
case core.Variable.Block(id, core.Type.TRegion, capt) =>
9797
Set(Variable(transform(id), Type.Prompt()))
9898

99-
// Coercsions are blocks and can be free, but do not have info.
99+
// Coercions are blocks and can be free, but do not have info.
100100
case core.Variable.Block(id, _, _) if id.name.name.startsWith("@coerce") =>
101101
Set.empty
102102

@@ -189,7 +189,6 @@ object Transformer {
189189
}
190190

191191
case Block.BlockLit(tparams, cparams, vparams, bparams, body) =>
192-
noteParameters(bparams)
193192
transform(substitute(Block.BlockLit(tparams, cparams, vparams, bparams, body), targs, vargs, bargs))
194193

195194
case Block.Unbox(pure) =>

0 commit comments

Comments
 (0)