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

+* does not generate Code #1182

Closed
p6rt opened this issue Jul 29, 2009 · 4 comments
Closed

+* does not generate Code #1182

p6rt opened this issue Jul 29, 2009 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jul 29, 2009

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

Searchable as RT68004$

@p6rt
Copy link
Author

p6rt commented Jul 29, 2009

From @colomon

According to http://perlcabal.org/syn/S03.html#Nesting_of_metaoperators
+* should generate a closure which numifies. This does not work, as

  my $x = +*;
  isa_ok $x, Code, '+* is of type Code';

fails, as do attempts to use +* in sort as in the S03 example there.

This appears to me to be a separate issue from RT #​67450, which
appears to expect +* to do something very different.

--
Solomon Foster​: colomon@​gmail.com
HarmonyWare, Inc​: http://www.harmonyware.com

@p6rt
Copy link
Author

p6rt commented Aug 9, 2009

From @pmichaud

On Wed Jul 29 05​:30​:51 2009, colomon@​gmail.com wrote​:

According to http://perlcabal.org/syn/S03.html#Nesting_of_metaoperators
+* should generate a closure which numifies. This does not work, as

my $x = \+\*;
isa\_ok $x, Code, '\+\* is of type Code';

fails, as do attempts to use +* in sort as in the S03 example there.

Now fixed in f48920, thanks!

Pm

@p6rt
Copy link
Author

p6rt commented Aug 9, 2009

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

@p6rt
Copy link
Author

p6rt commented Aug 9, 2009

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

@p6rt p6rt closed this as completed Aug 9, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant