[svn:parrot] r45637 - trunk/src/ops

coke at svn.parrot.org coke at svn.parrot.org
Tue Apr 13 17:14:58 UTC 2010


Author: coke
Date: Tue Apr 13 17:14:58 2010
New Revision: 45637
URL: https://trac.parrot.org/parrot/changeset/45637

Log:
Revert r45628, which fails t/op/lexicals.t and breaks rakudo's build.

This resolves TT #1555.

Modified:
   trunk/src/ops/var.ops

Modified: trunk/src/ops/var.ops
==============================================================================
--- trunk/src/ops/var.ops	Tue Apr 13 17:13:45 2010	(r45636)
+++ trunk/src/ops/var.ops	Tue Apr 13 17:14:58 2010	(r45637)
@@ -99,7 +99,7 @@
         PMC_IS_NULL(lex_pad)
             ? NULL
             : VTABLE_get_pmc_keyed_str(interp, lex_pad, lex_name);
-    if (PMC_IS_NULL(result)) {
+    if (!result) {
         opcode_t * const handler = Parrot_ex_throw_from_op_args(interp, NULL,
                 EXCEPTION_LEX_NOT_FOUND,
                 "Lexical '%Ss' not found", lex_name);


More information about the parrot-commits mailing list