# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #56252]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56252 >


Attached patch removes a duplicate whitespace in the "Scope  not found"
error message, reported by masak++ and located by TiMBuS++

The error message tried to include the not-found scope, which always
produces an empty string.

Cheers,
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/
Index: compilers/pct/src/PAST/Compiler.pir
===================================================================
--- compilers/pct/src/PAST/Compiler.pir	(revision 28667)
+++ compilers/pct/src/PAST/Compiler.pir	(working copy)
@@ -1598,7 +1598,7 @@
     pop_eh
     .return self.$P0(node, bindpost)
   scope_error:
-    .return self.'panic'("Scope ", scope, " not found for PAST::Var '", name, "'")
+    .return self.'panic'("Scope not found for PAST::Var '", name, "'")
 .end
 
 

Reply via email to