This works now on JVM (fixed by psch++ with
https://github.com/perl6/nqp/commit/1344f28130)
$ ./perl6-j -e 'say < 8+9i > eqv ComplexStr.new(<8+9i>, "8+9i")'
True
I'm closing this ticket as 'resolved'.
On Sun May 01 08:04:06 2016, pesc...@gmail.com wrote:
> On Thu Apr 21 12:34:10 2016, barto...@gmx.de wrote:
> > On Thu Apr 21 11:53:14 2016, barto...@gmx.de wrote:
> > >
> > > $ perl6-j -e 'say < 8+9i >.re'
> > > Attribute '$!re' is not a native num
> > > in block at -e line 1
> >
> > Oh, looks
On Thu Apr 21 12:34:10 2016, barto...@gmx.de wrote:
> On Thu Apr 21 11:53:14 2016, barto...@gmx.de wrote:
> >
> > $ perl6-j -e 'say < 8+9i >.re'
> > Attribute '$!re' is not a native num
> > in block at -e line 1
>
> Oh, looks like rakudo-j has other problems with the attributes of
>
On Thu Apr 21 11:53:14 2016, barto...@gmx.de wrote:
>
> $ perl6-j -e 'say < 8+9i >.re'
> Attribute '$!re' is not a native num
> in block at -e line 1
Oh, looks like rakudo-j has other problems with the attributes of ComplexStr:
$ perl6-j 'say < 8+9i >.im'
8
On Thu Apr 21 05:54:59 2016, barto...@gmx.de wrote:
> The (somewhat) golfed code is:
>
> $ perl6-j -e 'say < 8+9i > eqv ComplexStr.new(<8+9i>, "8+9i")'
Actually the same error occurs with
$ perl6-j -e 'say < 8+9i >.re'
Attribute '$!re' is not a native num
in block at -e line 1
# New Ticket Created by Christian Bartolomaeus
# Please include the string: [perl #127949]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127949 >
This ticket is about two (skipped) tests in S02-literals/allomorphic.t which