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

Report information
The Basics
Id:
124135
Status:
resolved
Priority:
Low/Low

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

BugTracker
Severity:
(no value)
Broken in:
0.13
Fixed in:
0.27



Subject: Compiletime detection of unsupported constructs
The following cannot be supported at runtime, but currently aren't detected at compiletime. Perhaps they should be: foreach our $var { await func() } map { await func() } LIST grep { await func() } LIST At runtime, if they operate only on immediate futures then the fact they're nested inside constructs that can't be suspended/resumed from isn't detected. This can lead to a false sense of correctness in e.g. unit tests, which are more likely to be working on entirely immediate futures. -- Paul Evans
These are now detected at compiletime in version 0.27. -- 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.