Exceptions and linear values

101 views
Skip to first unread message

Shea Levy

unread,
Sep 12, 2014, 7:00:24 AM9/12/14
to ats-lan...@googlegroups.com
Hi all,

If an exception is propagated through a function that has not yet
consumed a linear value that it needs to consume, what happens? Is that
resource just leaked?

~Shea

Hongwei Xi

unread,
Sep 12, 2014, 12:55:57 PM9/12/14
to ats-lan...@googlegroups.com
Yes, such resources are leaked.



~Shea

--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/20140912110020.GB2333%40nixos.hsd1.nh.comcast.net.

Yannick Duchêne

unread,
Sep 29, 2014, 12:33:09 AM9/29/14
to ats-lan...@googlegroups.com
Is there a way to check for this?

Hongwei Xi

unread,
Sep 29, 2014, 1:22:21 PM9/29/14
to ats-lan...@googlegroups.com
I am not aware of a systematic way to do it.


--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
Reply all
Reply to author
Forward
0 new messages