bug-g-golf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-g-golf] methods that return void can throw vm-error


From: Mike Rosset
Subject: [Bug-g-golf] methods that return void can throw vm-error
Date: Fri, 16 Aug 2019 06:59:56 -0700

Hello,

I have discovered that method signatures that return void will throw
vm-error, if called within a continuation.

(call-with-current-continuation (webkit-web-view-load-uri (make
<webkit-web-view>) "https://gnu.org";)). This is the most obvious
example. But it can happen anywhere that is expecting a return value.

It's possible this is expected behavior? though I can't help but
wonder if it might be more useful to return unspecified instead?

Mike Rosset



reply via email to

[Prev in Thread] Current Thread [Next in Thread]