#how to do `defer try SomeFn();`?
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
Is there a way to use defer to call functions that might return an error?
Along the lines of:
const PopStyle = try PushStyle(ctx);
defer try PopStyle();