[svn:parrot] r39645 - in branches/pmc_pct/compilers/pmcc/src: . emitter parser
Will Coleda
will at coleda.com
Thu Jun 18 12:24:29 UTC 2009
On Thu, Jun 18, 2009 at 3:55 AM, <cotto at svn.parrot.org> wrote:
>
> + idk:
> + $P0 = new ['Exception']
> + $S0 = typeof what
> + $S0 = concat "don't know how to clone ", $S0
> + $P0['message'] = $S0
> + throw $P0
I think this is now more easily written with die:
$S0 = typeof what
$S0 = "don't know how to clone" . $S0 # also, some sugar for the concat
die $S0
--
Will "Coke" Coleda
More information about the parrot-dev
mailing list