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

default type for params in pointy blocks should be Object #791

Closed
p6rt opened this issue Mar 16, 2009 · 4 comments
Closed

default type for params in pointy blocks should be Object #791

p6rt opened this issue Mar 16, 2009 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 16, 2009

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

Searchable as RT63920$

@p6rt
Copy link
Author

p6rt commented Mar 16, 2009

From @moritz

Author​: lwall
Date​: 2009-03-16 02​:24​:38 +0100 (Mon, 16 Mar 2009)
New Revision​: 25849

Modified​:
  docs/Perl6/Spec/S02-bits.pod
Log​:
make blocks transparent to Junctions (in the absence of explicit
parameter types)

...
- Any Perl 6 object (default parameter type, excludes Junction)
- Object Perl 6 object (either Any or Junction)
+ Any Perl 6 object (default routine parameter type, excludes
Junction)
+ Object Perl 6 object (default block parameter type, either Any
or Junction)

Basic tests in t/spec/S04-blocks-and-statements/pointy.t

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented May 8, 2009

From @jnthn

On Mon Mar 16 01​:00​:19 2009, moritz wrote​:

Author​: lwall
Date​: 2009-03-16 02​:24​:38 +0100 (Mon, 16 Mar 2009)
New Revision​: 25849

Modified​:
docs/Perl6/Spec/S02-bits.pod
Log​:
make blocks transparent to Junctions (in the absence of explicit
parameter types)

...
- Any Perl 6 object (default parameter type, excludes Junction)
- Object Perl 6 object (either Any or Junction)
+ Any Perl 6 object (default routine parameter type, excludes
Junction)
+ Object Perl 6 object (default block parameter type, either Any
or Junction)

Basic tests in t/spec/S04-blocks-and-statements/pointy.t

Brought Rakudo in line with this in git a579f31 and unfudged the tests
(which are now passing).

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented May 8, 2009

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

@p6rt
Copy link
Author

p6rt commented May 8, 2009

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

@p6rt p6rt closed this as completed May 8, 2009
@p6rt p6rt added the Todo label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant