Skip to content

Commit

Permalink
Replace getFTVsRec (uses expl info) with IsClosedForm in makeClosed
Browse files Browse the repository at this point in the history
  • Loading branch information
umazalakain committed May 16, 2021
1 parent 69e4d97 commit 9d5f13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/rise/core/makeClosed.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ object makeClosed {
Map[AddressSpaceIdentifier, AddressSpace],
Map[NatToDataIdentifier, NatToData]) = (Map(), Map(), Map(), Map())

val (expr, (ts, ns, as, n2ds)) = DSL.infer.getFTVsRec(e).foldLeft((e, emptySubs))((acc, ftv) => acc match {
val (expr, (ts, ns, as, n2ds)) = IsClosedForm.varsToClose(e)._2.foldLeft((e, emptySubs))((acc, ftv) => acc match {
case (expr, (ts, ns, as, n2ds)) => ftv match {
case i: TypeIdentifier =>
val dt = DataTypeIdentifier(freshName("dt"), isExplicit = true)
Expand Down

0 comments on commit 9d5f13d

Please sign in to comment.