A bare await now throws an error (with d841d4e14f04c49a19c32)

$ 6 'await'
Must specify a Promise or Channel to await on
  in block <unit> at -e:1

Liz

> On 27 May 2015, at 15:52, Alex Jakimenko (via RT) 
> <perl6-bugs-follo...@perl.org> wrote:
> 
> # New Ticket Created by  Alex Jakimenko 
> # Please include the string:  [perl #125257]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=125257 >
> 
> 
> Somehow I expected that "await" without args would wait for everything, but
> it does not do that. At the same time, the code like:
> 
> await;
> 
> is still legal and produces no error or warning. This should probably be a
> compile-time error.

Reply via email to