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

Type objects in Rakudo do not autovivify into proper instances #2027

Closed
p6rt opened this issue Aug 6, 2010 · 5 comments
Closed

Type objects in Rakudo do not autovivify into proper instances #2027

p6rt opened this issue Aug 6, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Aug 6, 2010

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

Searchable as RT77048$

@p6rt
Copy link
Author

p6rt commented Aug 6, 2010

From nobull@cpan.org

As discussed at YAPC​::EU today...

my Array $array;
$array[0] = "hello I'm not here"; # No autovivfication, no exception
say $array.perl; # It's still the Array type object

my Array $another_array;
say $another_array.perl; #
say $another_array[0]; # Oh dear, the type object is muted

my Hash $hash;
$hash<foo> = 'bar'; # No autovivfication. Exception - you tried to access
$!storage

@p6rt
Copy link
Author

p6rt commented Nov 13, 2011

From @coke

Pretty much no change in a recent revision of nom.
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Nov 13, 2011

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Aug 7, 2012

From @moritz

Works now, and tested in S02-types/autovivification.t

@p6rt
Copy link
Author

p6rt commented Aug 7, 2012

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

@p6rt p6rt closed this as completed Aug 7, 2012
@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
Development

No branches or pull requests

1 participant