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

Generic type can't participate in a coercive type #4657

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

Generic type can't participate in a coercive type #4657

p6rt opened this issue Oct 17, 2015 · 4 comments
Labels
NYI Features not yet implemented

Comments

@p6rt
Copy link

p6rt commented Oct 17, 2015

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

Searchable as RT126383$

@p6rt
Copy link
Author

p6rt commented Oct 17, 2015

From @TimToady

10​:28 < TimToady> m​: sub accum( :​:T \a, T(Cool) \b ) { a += b }; my $t = 3;
accum( $t, 2/3 ); say $t;
10​:28 <+camelia> rakudo-moar 5d8e96​: OUTPUT«Method 'T' not found for
invocant of class 'Rat'␤ in sub accum at /tmp/nOlXuzjbQh​:1␤ in block
  <unit> at /tmp/nOlXuzjbQh​:1␤␤»
10​:28 < TimToady> ^^^ that oughta work

@p6rt
Copy link
Author

p6rt commented Oct 26, 2015

From @FROGGS

Patch​: rakudo/rakudo@6902d51eb7
Tests​: Raku/roast@7f43444370

Closing ticket.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 26, 2015

From @FROGGS

Patch​: rakudo/rakudo@6902d51eb7
Tests​: Raku/roast@7f43444370

Closing ticket.

@p6rt
Copy link
Author

p6rt commented Oct 26, 2015

@FROGGS - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Oct 26, 2015
@p6rt p6rt added the NYI Features not yet implemented label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NYI Features not yet implemented
Projects
None yet
Development

No branches or pull requests

1 participant