# New Ticket Created by  Neven Luetic 
# Please include the string:  [perl #130817]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130817 >



class rect {
  has $.x;
  has $.y;

  has @.area[$!x;$!y];
}

my $rect = rect.new(x => 3, y => 5);

gives:
Cannot look up attributes in a VMNull type object
  in block <unit> at t2.p6 line 6

perl6 --version
This is Rakudo version 2017.02-29-gb9332ae built on MoarVM version 2017.02
implementing Perl 6.c.

Reply via email to