You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to check on the erased case. But for the generated case
<@let mutablea=0letf()= a <- a +1
f()
a
@>
will return 0. In the short term there should at least be an error.
Otherwise perhaps the best place to fix this would be in QuotationSimplifier. Each mutable let could traverse down its body to check for references and then rewrite the Expr with a ref type if needed.
The text was updated successfully, but these errors were encountered:
Need to check on the erased case. But for the generated case
will return 0. In the short term there should at least be an error.
Otherwise perhaps the best place to fix this would be in
QuotationSimplifier
. Each mutable let could traverse down its body to check for references and then rewrite theExpr
with aref
type if needed.The text was updated successfully, but these errors were encountered: