Autrijus Tang said:
> ...and I fixed the bug promptly. :)

I'm getting this error:
  pugs> 10.round
  *** Undeclared variable: "&do_round"
      at src/perl6/Prelude.pm line 278, column 9 - line 279, column 5

This is the Prelude code:

    sub do_round($n) is primitive is safe {
        ($n < 0) ?? int( $n - 0.5) :: int($n + 0.5);
    }
    sub round($n) is primitive is safe {
        round_gen($n, &do_round)
    }

I'm using r5716 in a chroot I just created, so I'm sure there are no
older versions around.

- Flavio S. Glock

Reply via email to