Open p6rt opened 8 years ago
These two commands (circa rakudo-moar 146e18) have different output:
$ perl6 -e 'class Foo { method bar(--> Str:D) {} }; say Foo.^methods.map: {"{.name}={.WHAT.perl}, returns {.returns.perl}"}' (bar=Method, returns Str:D) $ perl6 -e 'class Foo { method bar() returns Str:D {} }; say Foo.^methods.map: {"{.name}={.WHAT.perl}, returns {.returns.perl}"}' (bar=Method+{Callable[Str:D]}, returns Str:D)
But it seems as if they should have the same output.
This also came up here:
https://github.com/rakudo/rakudo/pull/798
Relevant IRC log:
[11:12] \
-- Aaron Sherman, M.: P: 617-440-4332 Google Talk, Email and Google Plus: ajs@ajs.com Toolsmith, developer, gamer and life-long student.
Migrated from rt.perl.org#128861 (status was 'new')
Searchable as RT128861$