FAQ
Thanks for the report.
On Tue, Jan 12, 2016 at 02:29:46PM -0800, Alex Jakimenko wrote:

Code:
my $x := (my $y := $x);
say $x.WHAT;

Result:
Segmentation fault


Code:
my $x := (my $y := $x);
say $y.WHAT; # same for $y

Result:
Segmentation fault


Code:
my $x := (my $y := $x);
say $x.^methods;

Result:
Segmentation fault
ASAN shows that all of these are "just" NULL pointer dereferences.
No (other) undefined behaviour at the C level.

Nicholas Clark

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupperl6-compiler @
categoriesperl
postedJan 12, '16 at 10:29p
activeJan 13, '16 at 11:52a
posts2
users2
websiteperl6.org

2 users in discussion

Nicholas Clark: 1 post Alex Jakimenko: 1 post

People

Translate

site design / logo © 2017 Grokbase