Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Giving Supply.tap a block with the wrong signature silently fails #4653

Closed
p6rt opened this issue Oct 17, 2015 · 6 comments
Closed

Giving Supply.tap a block with the wrong signature silently fails #4653

p6rt opened this issue Oct 17, 2015 · 6 comments

Comments

@p6rt
Copy link

@p6rt p6rt commented Oct 17, 2015

Migrated from rt.perl.org#126379 (status was 'resolved')

Searchable as RT126379$

@p6rt
Copy link
Author

@p6rt p6rt commented Oct 17, 2015

From @hoelzro

Possibly related to #​125782.

If you run this code​:

  Supply.interval(1).tap(-> { say 'hi' });
  sleep 5;

...you get no input, because the block provided to tap is argless. The signature verification failure is silently swallowed.

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 12, 2015

From @jnthn

On Sat Oct 17 06​:05​:10 2015, rob@​hoelz.ro wrote​:

Possibly related to #​125782.

If you run this code​:

Supply.interval(1).tap(-> { say 'hi' });
sleep 5;

...you get no input, because the block provided to tap is argless.
The signature verification failure is silently swallowed.

Fixed now​:

perl6-m -e "Supply.interval(1).tap(-> { say 'hi' }); sleep 5;"
Unhandled exception in code scheduled on thread 4
Too many positionals passed; expected 0 arguments but got 1
  in block at -e​:1

Tagging testneeded.

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 12, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 12, 2015

From @jnthn

On Sat Oct 17 06​:05​:10 2015, rob@​hoelz.ro wrote​:

Possibly related to #​125782.

If you run this code​:

Supply.interval(1).tap(-> { say 'hi' });
sleep 5;

...you get no input, because the block provided to tap is argless.
The signature verification failure is silently swallowed.

Fixed now​:

perl6-m -e "Supply.interval(1).tap(-> { say 'hi' }); sleep 5;"
Unhandled exception in code scheduled on thread 4
Too many positionals passed; expected 0 arguments but got 1
  in block at -e​:1

Tagging testneeded.

@p6rt
Copy link
Author

@p6rt p6rt commented Jul 5, 2016

From @zoffixznet

Tagging testneeded.

Tests added​: Raku/roast@046e0bf

@p6rt
Copy link
Author

@p6rt p6rt commented Jul 5, 2016

@zoffixznet - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this Jul 5, 2016
@p6rt p6rt added the testneeded label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant