[perl #125257] "await" without args does nothing but produces no error

2015-06-30 Thread Christian Bartolomaeus via RT
I added a simple test (only testing whether bare "await" dies, no check for the error message) to S17-promise/basic.t with commit https://github.com/perl6/roast/commit/305ca31ff7 I'm closing this ticket as 'resolved'.

Re: [perl #125257] "await" without args does nothing but produces no error

2015-05-29 Thread Elizabeth Mattijsen
That is correct. At the moment we cannot catch this elegantly at compile time, because the candidate with the slurpy takes the no arg case as well. So the only way to catch the no arg case, is to create a candidate for it that dies. Which makes it runtime. Since await, from the grammar point

Re: [perl #125257] "await" without args does nothing but produces no error

2015-05-28 Thread Alex Jakimenko
It does not say "===SORRY!===", is it OK? On Thu, May 28, 2015 at 7:09 PM, Elizabeth Mattijsen via RT < perl6-bugs-follo...@perl.org> wrote: > A bare await now throws an error (with d841d4e14f04c49a19c32) > > $ 6 'await' > Must specify a Promise or Channel to await on > in block at -e:1 > > Li

Re: [perl #125257] "await" without args does nothing but produces no error

2015-05-28 Thread Elizabeth Mattijsen
A bare await now throws an error (with d841d4e14f04c49a19c32) $ 6 'await' Must specify a Promise or Channel to await on in block at -e:1 Liz > On 27 May 2015, at 15:52, Alex Jakimenko (via RT) > wrote: > > # New Ticket Created by Alex Jakimenko > # Please include the string: [perl #1252

[perl #125257] "await" without args does nothing but produces no error

2015-05-28 Thread via RT
# New Ticket Created by Alex Jakimenko # Please include the string: [perl #125257] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125257 > Somehow I expected that "await" without args would wait for everything, but it does not