[perl #123969] NullPointerException on jvm for same CStruct in CStruct

2015-10-30 Thread Will Coleda via RT
On Tue Jun 30 13:41:37 2015, barto...@gmx.de wrote: > On Mon Jun 29 14:21:31 2015, barto...@gmx.de wrote: > > Unfortunatly, another NullPointerException surfaces when looking at > > the newly created $a: > > > > $ perl6-j -e 'class Foo is repr { has int32 $.idontcare; has > > Foo $.bar }; my $a =

[perl #123969] NullPointerException on jvm for same CStruct in CStruct

2015-10-30 Thread Christian Bartolomaeus via RT
Hmm, actually the second NPE is still there: $ perl6-j -e 'class Foo is repr { has int32 $.idontcare; has Foo $.bar }; my $a = Foo.new; say $a.bar' java.lang.NullPointerException in block at -e:1

[perl #123969] NullPointerException on jvm for same CStruct in CStruct

2015-06-30 Thread Christian Bartolomaeus via RT
On Mon Jun 29 14:21:31 2015, barto...@gmx.de wrote: Unfortunatly, another NullPointerException surfaces when looking at the newly created $a: $ perl6-j -e 'class Foo is reprCStruct { has int32 $.idontcare; has Foo $.bar }; my $a = Foo.new; say $a.bar' java.lang.NullPointerException in

[perl #123969] NullPointerException on jvm for same CStruct in CStruct

2015-06-29 Thread Christian Bartolomaeus via RT
At first sight this looks good now: $ perl6-j -e 'class Foo is reprCStruct { has int32 $.idontcare; has Foo $.bar }; my $a = Foo.new; say alive' alive Unfortunatly, another NullPointerException surfaces when looking at the newly created $a: $ perl6-j -e 'class Foo is reprCStruct { has int32

[perl #123969] NullPointerException on jvm for same CStruct in CStruct

2015-03-13 Thread Christian Bartolomaeus via RT
The class definition no longer results in a NullPointerException: $ perl6-j -e 'class Foo is reprCStruct { has int32 $.idontcare; has Foo $.bar }; say alive' alive But it's not possible to create an object of class Foo (works on MoarVM): $ perl6-j -e 'class Foo is reprCStruct { has int32

[perl #123969] NullPointerException on jvm for same CStruct in CStruct

2015-03-02 Thread via RT
# New Ticket Created by Tobias Leich # Please include the string: [perl #123969] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=123969 $ perl6-m -e 'class Foo is reprCStruct { has int32 $.idontcare; has Foo $.bar }' $