This queue is for tickets about the Future-AsyncAwait CPAN distribution.

Report information
The Basics
Id:
134658
Status:
rejected
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

BugTracker
Severity:
Wishlist
Broken in:
(no value)
Fixed in:
(no value)



To: bug-Algorithm-Cron@rt.cpan.org
From: leonerd-cpan@leonerd.org.uk
Date: Sun, 07 Mar 2021 11:06:14 -0500
Subject: Consider using CXt_TRY on perl 5.33.7 onwards
Subject to https://github.com/Perl/perl5/issues/18628 it would be useful to use the new TRY context stack type on such perls, because they would be invisible to caller(), and hence Carp et.al. -- Paul Evans
Actually, thinking about it this would be a bad idea. The current EVAL scope means the LEAVEASYNC ppfunc gets invoked after `return` inside the block, which is useful for reshaping the return value into a Future. When using CXt_TRY this wouldn't work. -- Paul Evans


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.