Closed dckc closed 7 years ago
This seems to be the underlying cause of #182:
exports (main) def main(_argv) as DeepFrozen: def builder := ::"m``".getAstBuilder() def n := "x" def lhs := builder.FinalPattern(builder.NounExpr(n, null), null, null) def rhs := builder.LiteralExpr(2, null) # BUGGY: def expr := m`def $lhs := $rhs` def expr := builder.DefExpr(lhs, null, rhs, null) traceln(`win! $expr`)
~ Problem: m`${expr-hole 0}`'s type ("ValueHoleExpr") is not one of ["NounExpr", "TempNounExpr"]
This was fixed some time before 2c39756.
This seems to be the underlying cause of #182: