Navigation Menu

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

Bug #5611

Closed
p6rt opened this issue Aug 24, 2016 · 8 comments
Closed

Bug #5611

p6rt opened this issue Aug 24, 2016 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Aug 24, 2016

Migrated from rt.perl.org#129060 (status was 'rejected')

Searchable as RT129060$

@p6rt
Copy link
Author

p6rt commented Aug 24, 2016

From @FCO

Hi!

I found what I think is a bug.
The code to reproduce the bug is​:

class Bla {...}; class Ble {has $.public = "pub"}; class Bla {has Bla $.ble
.= new; method say-ble-priv{$.ble.public.say}}; Bla.new.say-ble-priv

It waits for ever and camelia says​:

rakudo-moar 998e2b​: OUTPUT«Memory allocation failed; could not allocate
1016 bytes␤»

Thank's

Just another Perl Hacker,
Fernando (SmokeMachine)

@p6rt
Copy link
Author

p6rt commented Aug 24, 2016

From @niner

has Bla $.ble .= new; looks like a Typo. You probably want has Ble there. Otherwise this is just an endless recursion with the constructor for Bla trying to create a Bla object for the attribute.

Thanks to TheLemonMan++ for realizing this

@p6rt
Copy link
Author

p6rt commented Aug 24, 2016

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

@p6rt
Copy link
Author

p6rt commented Aug 24, 2016

@niner - Status changed from 'open' to 'rejected'

@p6rt p6rt closed this as completed Aug 24, 2016
@p6rt
Copy link
Author

p6rt commented Aug 25, 2016

From @FCO

Same problem with​:

class Bla {has Bla $.ble .= new; method say-ble-priv{$.ble.public.say}};
class Ble {has $.public = "pub"}; Bla.new.say-ble-priv

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-23 23​:58 GMT-03​:00 Fernando Oliveira <fernandocorrea@​gmail.com>​:

BenGoldberg, on #perl6 had the same result with this code​:

class Bla {has Bla $.ble .= new}; Bla.new <http://bla.new/>;

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-23 23​:48 GMT-03​:00 perl6 via RT <perl6-bugs-followup@​perl.org>​:

Greetings,

This message has been automatically generated in response to the
creation of a trouble ticket regarding​:
"Bug",
a summary of which appears below.

There is no need to reply to this message right now. Your ticket has been
assigned an ID of [perl #​129060].

Please include the string​:

     \[perl #&#8203;129060\]

in the subject line of all future correspondence about this issue. To do
so,
you may reply to this message.

                    Thank you,
                    perl6\-bugs\-followup@&#8203;perl\.org

-------------------------------------------------------------------------
Hi!

I found what I think is a bug.
The code to reproduce the bug is​:

class Bla {...}; class Ble {has $.public = "pub"}; class Bla {has Bla
$.ble
.= new; method say-ble-priv{$.ble.public.say}}; Bla.new.say-ble-priv

It waits for ever and camelia says​:

rakudo-moar 998e2b​: OUTPUT«Memory allocation failed; could not allocate
1016 bytes␤»

Thank's

Just another Perl Hacker,
Fernando (SmokeMachine)

@p6rt
Copy link
Author

p6rt commented Aug 25, 2016

From @FCO

BenGoldberg, on #perl6 had the same result with this code​:

class Bla {has Bla $.ble .= new}; Bla.new <http://bla.new/>;

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-23 23​:48 GMT-03​:00 perl6 via RT <perl6-bugs-followup@​perl.org>​:

Greetings,

This message has been automatically generated in response to the
creation of a trouble ticket regarding​:
"Bug",
a summary of which appears below.

There is no need to reply to this message right now. Your ticket has been
assigned an ID of [perl #​129060].

Please include the string​:

     \[perl #&#8203;129060\]

in the subject line of all future correspondence about this issue. To do
so,
you may reply to this message.

                    Thank you,
                    perl6\-bugs\-followup@&#8203;perl\.org

-------------------------------------------------------------------------
Hi!

I found what I think is a bug.
The code to reproduce the bug is​:

class Bla {...}; class Ble {has $.public = "pub"}; class Bla {has Bla $.ble
.= new; method say-ble-priv{$.ble.public.say}}; Bla.new.say-ble-priv

It waits for ever and camelia says​:

rakudo-moar 998e2b​: OUTPUT«Memory allocation failed; could not allocate
1016 bytes␤»

Thank's

Just another Perl Hacker,
Fernando (SmokeMachine)

@p6rt
Copy link
Author

p6rt commented Aug 25, 2016

From @FCO

sorry again​:

class Bla {has Bl*e* $.ble .= new; method say-ble-priv{$.ble.public.say}};
class Ble {has $.public = "pub"}; Bla.new.say-ble-priv

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-24 0​:10 GMT-03​:00 Fernando Oliveira <fernandocorrea@​gmail.com>​:

Sorry! I misspelled... this​:

class Bla {has Bla $.ble .= new; method say-ble-priv{$.ble.public.say}};
class Ble {has $.public = "pub"}; Bla.new.say-ble-priv

is working...

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-24 0​:02 GMT-03​:00 Fernando Oliveira <fernandocorrea@​gmail.com>​:

Same problem with​:

class Bla {has Bla $.ble .= new; method say-ble-priv{$.ble.public.say}};
class Ble {has $.public = "pub"}; Bla.new.say-ble-priv

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-23 23​:58 GMT-03​:00 Fernando Oliveira <fernandocorrea@​gmail.com>​:

BenGoldberg, on #perl6 had the same result with this code​:

class Bla {has Bla $.ble .= new}; Bla.new <http://bla.new/>;

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-23 23​:48 GMT-03​:00 perl6 via RT <perl6-bugs-followup@​perl.org>​:

Greetings,

This message has been automatically generated in response to the
creation of a trouble ticket regarding​:
"Bug",
a summary of which appears below.

There is no need to reply to this message right now. Your ticket has
been
assigned an ID of [perl #​129060].

Please include the string​:

     \[perl #&#8203;129060\]

in the subject line of all future correspondence about this issue. To
do so,
you may reply to this message.

                    Thank you,
                    perl6\-bugs\-followup@&#8203;perl\.org

------------------------------------------------------------
-------------
Hi!

I found what I think is a bug.
The code to reproduce the bug is​:

class Bla {...}; class Ble {has $.public = "pub"}; class Bla {has Bla
$.ble
.= new; method say-ble-priv{$.ble.public.say}}; Bla.new.say-ble-priv

It waits for ever and camelia says​:

rakudo-moar 998e2b​: OUTPUT«Memory allocation failed; could not allocate
1016 bytes␤»

Thank's

Just another Perl Hacker,
Fernando (SmokeMachine)

@p6rt
Copy link
Author

p6rt commented Aug 25, 2016

From @FCO

Sorry! I misspelled... this​:

class Bla {has Bla $.ble .= new; method say-ble-priv{$.ble.public.say}};
class Ble {has $.public = "pub"}; Bla.new.say-ble-priv

is working...

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-24 0​:02 GMT-03​:00 Fernando Oliveira <fernandocorrea@​gmail.com>​:

Same problem with​:

class Bla {has Bla $.ble .= new; method say-ble-priv{$.ble.public.say}};
class Ble {has $.public = "pub"}; Bla.new.say-ble-priv

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-23 23​:58 GMT-03​:00 Fernando Oliveira <fernandocorrea@​gmail.com>​:

BenGoldberg, on #perl6 had the same result with this code​:

class Bla {has Bla $.ble .= new}; Bla.new <http://bla.new/>;

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-08-23 23​:48 GMT-03​:00 perl6 via RT <perl6-bugs-followup@​perl.org>​:

Greetings,

This message has been automatically generated in response to the
creation of a trouble ticket regarding​:
"Bug",
a summary of which appears below.

There is no need to reply to this message right now. Your ticket has
been
assigned an ID of [perl #​129060].

Please include the string​:

     \[perl #&#8203;129060\]

in the subject line of all future correspondence about this issue. To do
so,
you may reply to this message.

                    Thank you,
                    perl6\-bugs\-followup@&#8203;perl\.org

------------------------------------------------------------
-------------
Hi!

I found what I think is a bug.
The code to reproduce the bug is​:

class Bla {...}; class Ble {has $.public = "pub"}; class Bla {has Bla
$.ble
.= new; method say-ble-priv{$.ble.public.say}}; Bla.new.say-ble-priv

It waits for ever and camelia says​:

rakudo-moar 998e2b​: OUTPUT«Memory allocation failed; could not allocate
1016 bytes␤»

Thank's

Just another Perl Hacker,
Fernando (SmokeMachine)

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